Click here to Skip to main content
15,889,116 members
Home / Discussions / Database
   

Database

 
GeneralRe: Delete and Truncate Pin
.NET- India 9-May-08 2:27
.NET- India 9-May-08 2:27 
GeneralRe: Delete and Truncate Pin
Brady Kelly9-May-08 2:58
Brady Kelly9-May-08 2:58 
GeneralRe: Delete and Truncate Pin
.NET- India 9-May-08 3:05
.NET- India 9-May-08 3:05 
GeneralRe: Delete and Truncate Pin
Ashfield9-May-08 3:12
Ashfield9-May-08 3:12 
GeneralRe: Delete and Truncate Pin
.NET- India 9-May-08 3:25
.NET- India 9-May-08 3:25 
GeneralRe: Delete and Truncate Pin
Ashfield9-May-08 22:32
Ashfield9-May-08 22:32 
GeneralRe: Delete and Truncate Pin
.NET- India 10-May-08 1:22
.NET- India 10-May-08 1:22 
GeneralRe: Delete and Truncate Pin
Rob Graham10-May-08 7:24
Rob Graham10-May-08 7:24 
.NET- India wrote:
So how can we say that a Delete can be rolled back but a truncate cannot be......


You seem to be missing the point, or at least not understanding what others have said.

Both delete and truncate can be rolled back within an explicit transaction, since the physical change does not happen until the transaction (explicit or auto commit) completes. In the case of a committed transaction (explicit or auto commit) only delete can be recovered from the transaction log by restoring the log with backup. It is incorrect to say that delete can be rolled back, but truncated cannot, the difference is not one of ability to rollback, but of recoverability from the transaction log after commit.
GeneralRe: Delete and Truncate Pin
Ashfield11-May-08 20:54
Ashfield11-May-08 20:54 
QuestionORACLE Commit problem--- Error 8197 Pin
megha_gharote8-May-08 23:36
megha_gharote8-May-08 23:36 
AnswerRe: ORACLE Commit problem--- Error 8197 Pin
Arsene Cormier9-May-08 7:38
Arsene Cormier9-May-08 7:38 
GeneralRe: ORACLE Commit problem--- Error 8197 Pin
megha_gharote11-May-08 18:20
megha_gharote11-May-08 18:20 
GeneralDrop and Log Constraints Pin
Brady Kelly8-May-08 23:18
Brady Kelly8-May-08 23:18 
GeneralRe: Drop and Log Constraints Pin
Mycroft Holmes11-May-08 0:30
professionalMycroft Holmes11-May-08 0:30 
QuestionNeed Help with ADODB.Connection_InfoMessage Event in VB6 Pin
valkyriexp8-May-08 13:58
valkyriexp8-May-08 13:58 
AnswerRe: Need Help with ADODB.Connection_InfoMessage Event in VB6 Pin
Mycroft Holmes8-May-08 21:12
professionalMycroft Holmes8-May-08 21:12 
GeneralRe: Need Help with ADODB.Connection_InfoMessage Event in VB6 Pin
valkyriexp9-May-08 6:18
valkyriexp9-May-08 6:18 
AnswerRe: Need Help with ADODB.Connection_InfoMessage Event in VB6 Pin
valkyriexp9-May-08 10:35
valkyriexp9-May-08 10:35 
QuestionINFORMATION_SCHEMA.COLUMNS vs. sys.columns Pin
Brady Kelly8-May-08 2:51
Brady Kelly8-May-08 2:51 
AnswerRe: INFORMATION_SCHEMA.COLUMNS vs. sys.columns Pin
Mycroft Holmes8-May-08 21:22
professionalMycroft Holmes8-May-08 21:22 
GeneralRe: INFORMATION_SCHEMA.COLUMNS vs. sys.columns Pin
Brady Kelly8-May-08 21:54
Brady Kelly8-May-08 21:54 
GeneralRe: INFORMATION_SCHEMA.COLUMNS vs. sys.columns Pin
Mycroft Holmes8-May-08 22:07
professionalMycroft Holmes8-May-08 22:07 
GeneralRe: INFORMATION_SCHEMA.COLUMNS vs. sys.columns Pin
Brady Kelly8-May-08 22:22
Brady Kelly8-May-08 22:22 
AnswerRe: INFORMATION_SCHEMA.COLUMNS vs. sys.columns Pin
Rob Graham10-May-08 7:36
Rob Graham10-May-08 7:36 
GeneralRe: INFORMATION_SCHEMA.COLUMNS vs. sys.columns Pin
Brady Kelly11-May-08 10:31
Brady Kelly11-May-08 10:31 

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.