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

Re: @@procid but which dbid

$
0
0

Cory, as far as I know,  you won't have access to the @@procid database id.  Much the same "problem" as the whole "sp_depends" cross-database hole.  Without additional programming (such as setting/getting app_context, for example, or mda, or temp tables, etc), you can't determine this from a global variable, SYS_SESSION context, or builtin call.


Viewing all articles
Browse latest Browse all 3587

Trending Articles



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