crishna1
asked on
SP_WHO2
Hi,
When SP_who2 is run,can it get the data from two weeks back or how is the time period determined?
is there a way to control the reult set time period? what does status RUNNABLE and Commands-- TASK Manger,AWAITING COMMAND,CHECKPOINT SLEEP mean?
When SP_who2 is run,can it get the data from two weeks back or how is the time period determined?
is there a way to control the reult set time period? what does status RUNNABLE and Commands-- TASK Manger,AWAITING COMMAND,CHECKPOINT SLEEP mean?
ASKER
i found the answers for various stages in status i asked in my question, now i need to know,
1)When SP_who2 is run,can it get the data from two weeks back or how is the time period determined?
2)by running sp_who or sp_who2 these is a chance of corrupting the database , is that true??
1)When SP_who2 is run,can it get the data from two weeks back or how is the time period determined?
2)by running sp_who or sp_who2 these is a chance of corrupting the database , is that true??
Answer for your questions:
1) Those SP's gives you a snapshot of the moment you execute them. It's always about the present so you can't have data from a determined period.
2) False. Those SP's wouldn't corrupte databases. No chances at all for that.
1) Those SP's gives you a snapshot of the moment you execute them. It's always about the present so you can't have data from a determined period.
2) False. Those SP's wouldn't corrupte databases. No chances at all for that.
ASKER
on question #1
how far back does it go and how is the time period based on or determined? when i execute SP_WHO2 on one of my servers i see login/SPID's from 4-5 months back.
how far back does it go and how is the time period based on or determined? when i execute SP_WHO2 on one of my servers i see login/SPID's from 4-5 months back.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER