June 6, 2008 at 9:12 am
I want to run a query against sysprocesses to determine which connections on a database are inactive. I check the value in the following columns to determine if the connection is inactive. Anyone have any insights if this is OK?
blocked = 0
waittime = 0
last_batch < a determined timeframe
open_tran = 0
status = 'sleeping'
Thanks.
June 6, 2008 at 6:34 pm
Yep... make sure that nothing under spid 50 is affected in this manner. System would hate it...
--Jeff Moden
Change is inevitable... Change for the better is not.
Viewing 2 posts - 1 through 1 (of 1 total)
You must be logged in to reply to this topic. Login to reply