Determine SPID

  • I call a stored procedure. While the stored procedure is still running, how can I determine the SPID for that process (that is running the stored procedure I just called)?

    Thanks.

  • Open Enterprise Manager and open the appropriate Database. Go to Management and under Current Activity you can view the current Process ID's.

    All the best,

    Dale

  • dbcc opentran

  • Thanks for prompt responding.

    I should have been more specific on this. What I wanted to do is to find out the SPID from the Client side which is written in VB using ADO.

    I call the stored procedure from VB. I have the Stored Procedure's name. How can I find out it's SPID without going to Enterprise Manager or Query Analyzer? Thanks again.

Viewing 4 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic. Login to reply