2450083 - Conversion error 257 on group by query when traceflag 450 is enabled | SAP Knowledge Base Article

SAP Knowledge Base Article - Preview

2450083 - Conversion error 257 on group by query when traceflag 450 is enabled

Symptom

1> dbcc traceflags
2> go
Active traceflags: 450, 3604
DBCC execution completed. If DBCC printed error messages, contact a user with System Administrator (SA) role.


1> select column_1, column_2, column_3, column_4, column_5, column_6, column_7, column_8, column_9,
2> column_10, column_11, column_12, column_13, column_14, column_15, column_16, column_17
3> from testdb..table_name
4> where column_1 != '2'
5> and column_18 = 0
6> group by column_1, column_2, column_3, column_4, column_5, column_6, column_7, column_8, column_18, column_9
7> go
Msg 257, Level 16, State 1
Server 'DatabaseServer', Line 1
Implicit conversion from datatype 'CHAR' to 'INT' is not allowed. Use the CONVERT function to run this query.


Read more...

Environment

  • SAP Sybase Adaptive Server Enterprise (ASE) 15.0
  • 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

257, 450, "Implicit conversion", "CONVERT" , KBA , BC-SYB-ASE , Sybase ASE Database Platform (non Business Suite) , Problem

About this page

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

Search for additional results

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