Quantcast
Channel: SCN: Message List - SAP Adaptive Server Enterprise (SAP ASE) for Custom Applications
Viewing all articles
Browse latest Browse all 3587

@@procid but which dbid

$
0
0

Guys,

 

@@procid will allow a trigger to see the procid of a procedure...

select object_name(@@procid) will show you the name if the procid is in the same database.

 

How do you identify the dbid of the @@procid without access to monProcessProcedures (or any mda table) if the calling proc is in another database?

 

Cory


Viewing all articles
Browse latest Browse all 3587

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>