----- DIFF BETWEEN TRUNCATE AND DELETE
1. TRUNCATE WILL DELETE THE ENTIRE TABLE @ A STRETCH DELETE WILL DELETE EACH RECORD
2. NO LOGGING IN TRUNCATE ... LOGGING DELETE
3. PROCESS IS TOO FAST AND WE CAN RECOVER THE DATA IN TRUNCATE
Cheers,
Venkatesan Prabu .J
Head - www.kaashivinfotech.com
http://venkattechnicalblog.blogspot.com/
1. TRUNCATE WILL DELETE THE ENTIRE TABLE @ A STRETCH DELETE WILL DELETE EACH RECORD
2. NO LOGGING IN TRUNCATE ... LOGGING DELETE
3. PROCESS IS TOO FAST AND WE CAN RECOVER THE DATA IN TRUNCATE
Cheers,
Venkatesan Prabu .J
Head - www.kaashivinfotech.com
http://venkattechnicalblog.blogspot.com/
This comment has been removed by the author.
ReplyDeleteI think your post is very confusing and the second point is completely wrong.
ReplyDeleteCheck http://vadivel.blogspot.com/2004/06/delete-vs-truncate-statement.html where I found the differences between Delete and Truncate to be more meaningful.
I think you meant 'we can't recover data in truncate' instead of 'we can recover data'.
ReplyDelete