7
Shouts

Findout Calling procedure name using @@PROCID

published 620 days, 16 hours, 2 minutes ago posted by dharadhara 620 days, 22 hours, 12 minutes ago
Friday, September 10, 2010 3:10:12 PM GMT Friday, September 10, 2010 8:59:19 AM GMT

Suppose you want to find out the name of the procedure that calls the procedure being executed,you can use system function @@PROCID which returns the object id of the current procedure.

category: SQL | clicked: 0 | | source: beyondrelational.com | show counter code
tags: SQL Server, TSQL

No comments yet, be the first one to post comment.

To post your comment please login or signup