Re: View Uncommitted Query or Data in Sql 2K ?
From: Hugo Kornelis (hugo_at_pe_NO_rFact.in_SPAM_fo)
Date: 02/05/05
- Next message: Galen Boyer: "Re: Comparing SQL Server to Oracle"
- Previous message: Adam Machanic: "Re: TSQL view syntax"
- In reply to: Luqman: "Re: View Uncommitted Query or Data in Sql 2K ?"
- Messages sorted by: [ date ] [ thread ]
Date: Sun, 06 Feb 2005 00:04:07 +0100
On Sat, 5 Feb 2005 16:54:43 +0500, Luqman wrote:
>By view uncommitted query, I mean if I run 03 queries, one for Insert, one
>for update and one for delete, and still did not issue commit, and clear the
>sql window,
>now can I see those queries again.
Hi Luqman,
No, you can't, unless it is still in the undo buffer of Query Analyzer.
This is functionality of QA, though - not of the core server.
If you already had a profiler trace running when you submitted the query,
then you could find the query there.
>2ndly when I close the query analyzer window, it says, you have uncommitted
>data, do you want to commit, can I see what data its referring to, out of
>above 03 queries.
I think you can cancel the close operation (not sure, though, and I can't
experiment now). Then, close the windows in QA one by one. Each window
that has an open connection will ask you to commit or rollback.
Best, Hugo
-- (Remove _NO_ and _SPAM_ to get my e-mail address)
- Next message: Galen Boyer: "Re: Comparing SQL Server to Oracle"
- Previous message: Adam Machanic: "Re: TSQL view syntax"
- In reply to: Luqman: "Re: View Uncommitted Query or Data in Sql 2K ?"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|