Click here to Skip to main content
15,921,463 members
Home / Discussions / Database
   

Database

 
Questionwriting query using comma separator Pin
dayakar_dn23-May-06 0:09
dayakar_dn23-May-06 0:09 
AnswerRe: writing query using comma separator [modified] Pin
Frank Kerrigan23-May-06 0:46
Frank Kerrigan23-May-06 0:46 
Questionado.net Pin
ravikiranreddydharmannagari22-May-06 23:22
ravikiranreddydharmannagari22-May-06 23:22 
AnswerRe: ado.net Pin
dayakar_dn23-May-06 1:49
dayakar_dn23-May-06 1:49 
Questionhow to make one column as a index Pin
dayakar_dn22-May-06 20:58
dayakar_dn22-May-06 20:58 
AnswerRe: how to make one column as a index Pin
Eric Dahlvang23-May-06 9:21
Eric Dahlvang23-May-06 9:21 
QuestionAction Queries [modified] Pin
xfitr222-May-06 5:31
xfitr222-May-06 5:31 
AnswerRe: Action Queries [modified] Pin
Colin Angus Mackay22-May-06 6:49
Colin Angus Mackay22-May-06 6:49 
I'm not really sure how wise this is but this:
SELECT * FROM [Order Details]
BEGIN TRANSACTION
DELETE FROM [Order Details]
SELECT * FROM [Order Details]
ROLLBACK TRANSACTION
SELECT * FROM [Order Details]

This shows the state of the Order Details table, then it shows the result of the delete operation, but after the transaction is rolled back the state of the database reverts.

Is this the kind of thing you are looking for?


[ADDITION]
I should point out that this does actually make changes to the database and it could impact performance of other things running in the database.
[/ADDITION]



"On two occasions, I have been asked [by members of Parliament], 'Pray, Mr. Babbage, if you put into the machine wrong figures, will the right answers come out?' I am not able to rightly apprehend the kind of confusion of ideas that could provoke such a question."
--Charles Babbage (1791-1871)

My: Website | Blog


-- modified at 12:51 Monday 22nd May, 2006
GeneralRe: Action Queries [modified] Pin
xfitr222-May-06 7:31
xfitr222-May-06 7:31 
QuestionSQL Performance problem need help Pin
Pallav Deshmukh22-May-06 3:32
Pallav Deshmukh22-May-06 3:32 
AnswerRe: SQL Performance problem need help Pin
woudwijk22-May-06 5:23
woudwijk22-May-06 5:23 
GeneralRe: SQL Performance problem need help Pin
Pallav Deshmukh22-May-06 20:15
Pallav Deshmukh22-May-06 20:15 
AnswerRe: SQL Performance problem need help Pin
Colin Angus Mackay22-May-06 5:24
Colin Angus Mackay22-May-06 5:24 
GeneralRe: SQL Performance problem need help Pin
Pallav Deshmukh22-May-06 20:16
Pallav Deshmukh22-May-06 20:16 
QuestionAccess Database Manager Pin
Kschuler22-May-06 3:29
Kschuler22-May-06 3:29 
AnswerRe: Access Database Manager Pin
Eric Dahlvang22-May-06 8:08
Eric Dahlvang22-May-06 8:08 
GeneralRe: Access Database Manager Pin
Paul Conrad22-May-06 8:23
professionalPaul Conrad22-May-06 8:23 
QuestionRe: Access Database Manager Pin
Kschuler22-May-06 9:10
Kschuler22-May-06 9:10 
QuestionGroup by date Pin
Sasuko22-May-06 3:25
Sasuko22-May-06 3:25 
AnswerRe: Group by date Pin
Kschuler22-May-06 3:36
Kschuler22-May-06 3:36 
GeneralRe: Group by date Pin
Sasuko22-May-06 3:49
Sasuko22-May-06 3:49 
GeneralRe: Group by date Pin
Kschuler22-May-06 4:24
Kschuler22-May-06 4:24 
AnswerRe: Group by date Pin
Colin Angus Mackay22-May-06 5:21
Colin Angus Mackay22-May-06 5:21 
AnswerRe: Group by date Pin
Eric Dahlvang22-May-06 8:40
Eric Dahlvang22-May-06 8:40 
GeneralRe: Group by date Pin
Colin Angus Mackay22-May-06 11:28
Colin Angus Mackay22-May-06 11:28 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.