SAP Knowledge Base Article - Preview

2774370 - Msg 2849 happened when executing a system stored procedure which references objects across databases

Symptom

  •  When executing a system stored procedure which references objects across databases, the following error message happened.
    1> sp_monitor
    2> go
    Msg 2849, Level 16, State 1:
    Server 'ase1570', Procedure 'sp_monitor', Line 194:
    EXECUTE AS OWNER procedures cannot be executed if created by an alias or with the SETUSER command when the procedure has SQL statements that reference objects across databases. Drop and recreate the procedure from a non-impersonated session.
  • Not only a user which has 'sa_role' but also sa user can't execute the stored system procedure.

Read more...

Environment

  • SAP Adaptive Server Enterprise (ASE) 15.7 SP138
  • SAP Adaptive Server Enterprise (ASE) 15.7 SP139

Product

SAP Adaptive Server Enterprise 15.7

Keywords

KBA , BC-SYB-ASE , Sybase ASE Database Platform (non Business Suite) , How To

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.