Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2005 Forums
 SQL Server Administration (2005)
 Display queries that haven't been saved

Author  Topic 

AskSQLTeam
Ask SQLTeam Question

0 Posts

Posted - 2007-01-11 : 06:53:34
Jord writes "Hi,
Is there a way to retrieve or display the queries that I've run against a database? I didn't save them and now I need to know what I've done.
Thanks so much in advance.
Jord."

SwePeso
Patron Saint of Lost Yaks

30421 Posts

Posted - 2007-01-11 : 07:03:21
If no other query has been run, there is a little chance that Profiler can view them.

If not closing Query Analyzer yet, try CTRL-Z if you recently deleted the query text.


Peter Larsson
Helsingborg, Sweden
Go to Top of Page
   

- Advertisement -