SAP Knowledge Base Article - Preview

2163428 - Error 257 when running select on encrypted INT column - SAP ASE


  • Table involves an INT column
  • The column is encrypted
  • Error 257 is reported when running select against the table.

1> select * from test
2> go
Msg 257, Level 16, State 1:
Server 'XXXX', Line 1:
Implicit conversion from datatype 'VARCHAR' to 'INT' is not allowed.  Use the CONVERT function to run this query.



SAP Adaptive Server Enterprise (ASE) on All Versions


SAP Adaptive Server Enterprise all versions


KBA , BC-SYB-ASE , Sybase ASE Database Platform (non Business Suite) , How To

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.