I am performing a large insert followed by a large delete. I want to truncate the transaction log right after.
How to backup transaction log programatically (I believe this will truncate)?
Are dbcc shrinkfile and dbcc shrinkdatabase my only options?
I don't want to use shrink file, becuse the location of the file might (and will) change.
Shrink db is too much.
How to backup transaction log programatically (I believe this will truncate)?
Are dbcc shrinkfile and dbcc shrinkdatabase my only options?
I don't want to use shrink file, becuse the location of the file might (and will) change.
Shrink db is too much.