This is my transaction log bkp code;
i am backing up to the device 'xxxBackup'..
i also want to make sure that my transaction log files do not grow too large.i want to achieve this by truncating them after a backup.
can someone tell me if the below tsql will work and if not what code should i use..
thx
BACKUP LOG [adp2sql] TO [xxxBackup] WITH NOINIT , NOUNLOAD , NAME = N'xxx_log_bkp', NOSKIP , STATS = 10, NOFORMAT , NO_TRUNCATE
i am backing up to the device 'xxxBackup'..
i also want to make sure that my transaction log files do not grow too large.i want to achieve this by truncating them after a backup.
can someone tell me if the below tsql will work and if not what code should i use..
thx
BACKUP LOG [adp2sql] TO [xxxBackup] WITH NOINIT , NOUNLOAD , NAME = N'xxx_log_bkp', NOSKIP , STATS = 10, NOFORMAT , NO_TRUNCATE