SAP Knowledge Base Article - Preview

2931527 - Msg 137: must declare variable - SAP ASE

Symptom

A procedure that was running fine on ASE 15.7 SP13x, now is reporting msg 137: must declare variable on ASE 16.0 SP03 PL07.

Msg 137, Level 15, State 2:
Server 'myserver', Line 2:
Must declare variable '@myvariable'.

 myvariable
----------------------
(0 rows affected)
(return status = -5)


Read more...

Environment

  • SAP Adaptive Server Enterprise (ASE) 16.0 SP03 PL07
  • SAP Adaptive Server Enterprise (ASE) 15.7 SP140

Product

SAP Adaptive Server Enterprise 15.7 ; SAP Adaptive Server Enterprise 16.0

Keywords

error message msg 137 must declare variable large number white spaces blank spaces excessive spaces CR 817869 CR817869 , 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.