Click here to monitor SSC
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


Not able to find historical data using SQL Server Profiler in SQL Server 2008


Not able to find historical data using SQL Server Profiler in SQL Server 2008

Author
Message
EasyBoy
EasyBoy
SSC Veteran
SSC Veteran (265 reputation)SSC Veteran (265 reputation)SSC Veteran (265 reputation)SSC Veteran (265 reputation)SSC Veteran (265 reputation)SSC Veteran (265 reputation)SSC Veteran (265 reputation)SSC Veteran (265 reputation)

Group: General Forum Members
Points: 265 Visits: 770
Hello All,

I would like to capture the script that was ran by user on yesterday between particular time.

But somehow i am not able to get the desire information.

Can anyone please help me if i am missing anything.

Template: Standard (No option with Default)

LoginName: Name of user

StartTime : Greater than > 2013-03-18 06:00:00.000

EndTime : Less than < 2013-03-18 06:30:00.000.

Please let me know if more information is required.
Nadrek
Nadrek
Ten Centuries
Ten Centuries (1K reputation)Ten Centuries (1K reputation)Ten Centuries (1K reputation)Ten Centuries (1K reputation)Ten Centuries (1K reputation)Ten Centuries (1K reputation)Ten Centuries (1K reputation)Ten Centuries (1K reputation)

Group: General Forum Members
Points: 1029 Visits: 2673
To capture activity that happened yesterday, today, please look up DBCC TIMEWARP. Be certain to study the clarification on the 13th parameter:
http://www.sqlservercentral.com/Forums/FindPost866665.aspx

Alternately, generate a trace to capture only what you need and then ask the user to try again while you're running it.
http://technet.microsoft.com/en-us/library/ms175047.aspx
Orlando Colamatteo
Orlando Colamatteo
SSCrazy Eights
SSCrazy Eights (8.2K reputation)SSCrazy Eights (8.2K reputation)SSCrazy Eights (8.2K reputation)SSCrazy Eights (8.2K reputation)SSCrazy Eights (8.2K reputation)SSCrazy Eights (8.2K reputation)SSCrazy Eights (8.2K reputation)SSCrazy Eights (8.2K reputation)

Group: General Forum Members
Points: 8235 Visits: 14368
EasyBoy (3/20/2013)
Hello All,

I would like to capture the script that was ran by user on yesterday between particular time.

But somehow i am not able to get the desire information.

Can anyone please help me if i am missing anything.

Template: Standard (No option with Default)

LoginName: Name of user

StartTime : Greater than > 2013-03-18 06:00:00.000

EndTime : Less than < 2013-03-18 06:30:00.000.

Please let me know if more information is required.

Nadrek is trying to be funny.

If you did not have an active Trace or Extended Events session running yesterday at the time the batch was run then you will not be able to retrieve it.

For your own understanding, Profiler is a program that can setup new Traces or review the results of previously-captured Traces, i.e. it does not enable us to review previous system activity that was not otherwise being captured in a Trace.

__________________________________________________________________________________________________
There are no special teachers of virtue, because virtue is taught by the whole community. --Plato
Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum

































































































































































SQLServerCentral


Search