|
database
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Truncate / DeleteHi,
I would like the know how Truncate and Delete both commands affect the result of backup / restore procedure(s) and how I am able to test it. Tks Ed None of the commands will affect the types of backups you can do or the ability to restore from any
type of backup. Be aware that DELETE will log each row deleted, so if you delete a lot of rows, the next transaction log will be large. TRUNCATE TABLE will only log deallocation of pages, so the recording of such a statement doesn't use as much space in the transaction log backup. -- Show quoteTibor Karaszi, SQL Server MVP http://www.karaszi.com/sqlserver/default.asp http://www.solidqualitylearning.com/ Blog: http://solidqualitylearning.com/blogs/tibor/ "Ed" <E*@discussions.microsoft.com> wrote in message news:853F46B3-AB29-42AC-B1E5-847BF4C817C0@microsoft.com... > Hi, > I would like the know how Truncate and Delete both commands affect the > result of backup / restore procedure(s) and how I am able to test it. > Tks > Ed |
|||||||||||||||||||||||