SAP Knowledge Base Article - Preview

2422848 - Error 225 runnig dcl after exec immediat


  • Why is error 225 raised using an 'execute immediate' statement?
  • Difference in behaviour between resolution of a procedure and table under statement cache.
  • Grant execute on a procedure fails after execute immediate with message 225 :
Msg 225, Level 16, State 11:
Server 'ASE', Line 3:

Cannot run query--referenced object (name NAME NOT RECOVERABLE) dropped during query optimization.



SAP Adaptive Server Enterprise 15.7


"error 225" , "msg 225" , "msg. 225" , "message 225" , "execute immediate" , "dynamic sql" , 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.