SAP Knowledge Base Article - Preview

2188333 - Error 257 during insert when a column uses the default value - SAP ASE

Symptom

A conversion error is raised during an INSERT for a column that will use the default value:

INSERT INTO fail_on_insert(c1) values(1)
Msg 257, Level 16, State 1:
Server 'test', Line 1:
Implicit conversion from datatype 'INT' to 'VARCHAR' is not allowed.  Use the CONVERT function to run this query.


Read more...

Environment

  • SAP Sybase Adaptive Server Enterprise (ASE) 15.0.3
  • SAP Sybase Adaptive Server Enterprise (ASE) 15.5
  • SAP Adaptive Server Enterprise (ASE)  15.7 
  • SAP Adaptive Server Enterprise (ASE) 16.0

Product

SAP Adaptive Server Enterprise 15.7 ; SAP Adaptive Server Enterprise 16.0 ; Sybase Adaptive Server Enterprise 15.0 ; Sybase Adaptive Server Enterprise 15.5

Keywords

CR552227, CR#552227, 552227, match, compatible, verify , KBA , BC-SYB-ASE , Sybase ASE Database Platform (non Business Suite) , Product Enhancement

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.