Correlate SPID to session_id

Posted on 2009-12-28
Last Modified: 2012-05-08
I need to find out what session_id a given SPID is correlated to.  I currently have a profiler trace running that inserts session_id values into a table (I wish it just inserted SPIDs).  It only displays session_id, so I am hoping there's a way to correlate the two values.

I need SPIDS.

Any ideas?
Question by:IntercareSupport
    LVL 75

    Accepted Solution

    session_id is the same as spid  
    LVL 60

    Assisted Solution

    theyre the same thing.  spid is what the session used to be called in 2000 and it is just session id

    Author Closing Comment

    Thanks a lot!

    Featured Post

    How your wiki can always stay up-to-date

    Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
    - Increase transparency
    - Onboard new hires faster
    - Access from mobile/offline

    Join & Write a Comment

    This article explains all about SQL Server Piecemeal Restore with examples in step by step manner.
    Using SQL Scripts we can save all the SQL queries as files that we use very frequently on our database later point of time. This is one of the feature present under SQL Workshop in Oracle Application Express.
    Video by: Steve
    Using examples as well as descriptions, step through each of the common simple join types, explaining differences in syntax, differences in expected outputs and showing how the queries run along with the actual outputs based upon a simple set of dem…
    Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

    733 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    17 Experts available now in Live!

    Get 1:1 Help Now