• David.Lavers (9/27/2010)


    When executed on a local machine, why doesn't this stored procedure find itself running?

    The script excludes itself from the result set.

    where s.is_user_process=1 AND s.session_Id NOT IN (@@SPID)

    Jason...AKA CirqueDeSQLeil
    _______________________________________________
    I have given a name to my pain...MCM SQL Server, MVP
    SQL RNNR
    Posting Performance Based Questions - Gail Shaw[/url]
    Learn Extended Events