SAP Knowledge Base Article - Preview

2156958 - Error 225 "Cannot run query--referenced object.." when running a procedure - SAP ASE


  • A stored procedure includes a query on a view.
  • A column is added to one table of the view.
  • Error 225 is reported if you execute the stored procedure:

Couldn't find table t1.
Couldn't find table t1.
Server Message:  Number  225, Severity  16
Server 'XXX', Procedure 'my_procedure', Line 6:
Cannot run query--referenced object (name NAME NOT RECOVERABLE) dropped during query optimization.
(return status = -6)



SAP Adaptive Server Enterprise (ASE) 15.7


SAP Adaptive Server Enterprise 15.7


CR782188, CR#782188, 782188 , KBA , BC-SYB-ASE , Sybase ASE Database Platform (non Business Suite) , Bug Filed

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.