SAP Knowledge Base Article - Preview

2467045 - Msg 208, Level 16, State 1 - when temporary tables are created via dynamic sql within a stored proc - ASE


  • Deferred Name Resolution turned on
  • Stored procedure created with dynamic sql which includes a reference to a #temp table
  • Error 208 is observed

Msg 208, Level 16, State 1:
Server 'myserver', Procedure 'testproc', Line 13:
#tempsysobjects not found. Specify owner.objectname or use sp_help to check
whether the object exists (sp_help may produce lots of output).



  • Sybase Adaptive Server Enterprise(ASE) 15.5
  • SAP Adaptive Server Enterprise(ASE) 15.7
  • SAP Adaptive Server Enterprise(ASE) 16.0


SAP Adaptive Server Enterprise 15.7 ; SAP Adaptive Server Enterprise 16.0 ; Sybase Adaptive Server Enterprise 15.5


#table, Accessed, dynamic , KBA , BC-SYB-ASE , Sybase ASE Database Platform (non Business Suite) , BC-DB-SYB , Business Suite on Adaptive Server Enterprise , BC-SYB-ASE-CE , ASE Cluster Edition (Standalone) , Bug Filed

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.