November 29, 2014 at 3:07 pm
Comments posted to this topic are about the item Difference between Delete,Truncate and drop
November 30, 2014 at 12:35 am
Good question, and good example of using rollback within a transaction.
Thanx.
Thanks & Best Regards,
Hany Helmy
SQL Server Database Consultant
November 30, 2014 at 6:08 am
Can you tell me reason behind this?
December 1, 2014 at 12:20 am
bharatmehra76 (11/30/2014)
Can you tell me reason behind this?
You can start with this:
http://www.sqlservercentral.com/Forums/Topic1488704-391-1.aspx
If you are a beginner then you need to understand how DELETE, DROP and TRUNCATE work instead of just focusing on their theoretical differences.
December 1, 2014 at 12:57 am
Good question, thanks.
Need an answer? No, you need a question
My blog at https://sqlkover.com.
MCSE Business Intelligence - Microsoft Data Platform MVP
December 1, 2014 at 1:43 am
This was removed by the editor as SPAM
December 1, 2014 at 2:18 am
Nicely done, will help a lot of people especially newbies. Thanks for sharing
December 1, 2014 at 3:38 am
thanks it helps to clear my doubts regarding truncate and delete operations 🙂
December 1, 2014 at 8:02 am
Interesting question, learned something, thanks......
December 1, 2014 at 8:23 am
Great question, thanks!
- webrunner
-------------------
A SQL query walks into a bar and sees two tables. He walks up to them and asks, "Can I join you?"
Ref.: http://tkyte.blogspot.com/2009/02/sql-joke.html
December 1, 2014 at 8:24 am
ksatpute123 (12/1/2014)
bharatmehra76 (11/30/2014)
Can you tell me reason behind this?You can start with this:
http://www.sqlservercentral.com/Forums/Topic1488704-391-1.aspx
If you are a beginner then you need to understand how DELETE, DROP and TRUNCATE work instead of just focusing on their theoretical differences.
Thank you. I like to see a reference article in the answer and didn't see one for this question. Other than that, it was an excellent question submission.
- webrunner
-------------------
A SQL query walks into a bar and sees two tables. He walks up to them and asks, "Can I join you?"
Ref.: http://tkyte.blogspot.com/2009/02/sql-joke.html
December 1, 2014 at 8:32 am
Good question. Like another thread currently on the forum, it highlights the differences between DELETE and TRUNCATE in SQL Server and Oracle. Good question to start the week. Thanks.
December 1, 2014 at 11:02 am
This appears to be a major difference between SQL Server and Oracle. Oracle cannot roll back DDL, only DML. SQL Server seems to be able to do both.
Great question. Got me researching....
December 2, 2014 at 2:23 am
delete and truncate both delete data from table but the difference is that when we use delete then we have option to delete some specific records from table but truncate delete all records from table.drop delete structure of table.means drop remove table from database.
December 2, 2014 at 4:07 am
Query 1 : 'abc'
Query 2 : 'abc'
Query 3 : 'abc'
Viewing 15 posts - 1 through 15 (of 15 total)
You must be logged in to reply to this topic. Login to reply