Triggers were written to check @@procid to determine if they were being fired by a stored procedure.
@@procid would have the object id of that procedure, or a value of zero for ad-hoc SQL.
However, @@procid is now always showing a non-zero value.
- SAP Adaptive Server Enterprise (ASE)
- SAP Adaptive Server Enterprise Cluster Edition (ASE CE)
sybase, @@procid, LWP, statement cache, trigger, literal autoparam, object id, procedure cache. , KBA , BC-SYB-ASE , Sybase ASE Database Platform (non Business Suite) , BC-SYB-ASE-CE , ASE Cluster Edition (Standalone) , Problem
About this pageThis 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.