SAP Knowledge Base Article - Preview

2607095 - Error 11037 Specified incorrect datatype for variable containing the 'execute immediate' command string. - SAP ASE


  • Create a procedure using a text variable
  • When calling the procedure with 'execute immediate' error 11037 is returned:

Msg 11037, Level 16, State 2:
You specified an incorrect datatype for the variable containing the 'execute immediate' command string.
Command has been aborted.



  • Adaptive Server Enterprise (ASE) 16.0


SAP Adaptive Server Enterprise 16.0


"message 11037" , "msg. 11037" text, data type, execute immediate, exec, LOB, image, "text variable" , 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 for Me (Login required).

Search for additional results

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