Can we put thresholds for logn running queries.

  • As i am executing the query it is running continusly but when i see with sp_who2 it is showing suspended state even the query still running.

    Can any one say how it is possible.... please let me know...

    Thanks and Regards..

  • Suspended means its waiting for something, it's not running.

    What you're asking for is a timeout, it's something set in the client application, the length of time that a client app will wait for a query to complete before telling SQL to stop it

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass

Viewing 2 posts - 1 through 2 (of 2 total)

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