Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
 
Log in  ::  Register  ::  Not logged in
 
 
 
        
Home       Members    Calendar    Who's On


Add to briefcase

Not able to find historical data using SQL Server Profiler in SQL Server 2008 Expand / Collapse
Author
Message
Posted Wednesday, March 20, 2013 12:10 AM
SSC Veteran

SSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC Veteran

Group: General Forum Members
Last Login: Today @ 6:20 AM
Points: 202, Visits: 459
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.
Post #1433008
Posted Thursday, March 21, 2013 2:06 PM
SSC Eights!

SSC Eights!SSC Eights!SSC Eights!SSC Eights!SSC Eights!SSC Eights!SSC Eights!SSC Eights!

Group: General Forum Members
Last Login: Yesterday @ 8:46 AM
Points: 845, Visits: 2,331
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
Post #1434016
Posted Friday, March 22, 2013 2:45 PM


SSCertifiable

SSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiable

Group: General Forum Members
Last Login: Yesterday @ 9:25 AM
Points: 7,070, Visits: 12,523
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

Believe you can and you're halfway there. --Theodore Roosevelt

Everything Should Be Made as Simple as Possible, But Not Simpler --Albert Einstein

The significant problems we face cannot be solved at the same level of thinking we were at when we created them. --Albert Einstein

1 apple is not exactly 1/8 of 8 apples. Because there are no absolutely identical apples. --Giordy
Post #1434516
« Prev Topic | Next Topic »

Add to briefcase

Permissions Expand / Collapse