I'm running SQL 7.0 and I posted before about a couple of my databases the seem to grow out of control. On each database, I have set the truncate log on checkpoint option, however because, I have so many jobs that need to run overnight I'm thinking that the logs might not have enough time to clear. At first I tried scheduling a few shrink database jobs in between my copy table jobs but ended up with a corrupt database. I have found that sometimes when the disk space fills up, running a truncate log command frees up the space. Therefore I'd like to know is there a way to create a truncate log job that I can schedule to run in between my copy table jobs. Basically, I'm looking for a truncate log script from which I can create a scheduled job.
Can I use 'backup log db_name with truncate_only'.
Thanks in advance?
Can I use 'backup log db_name with truncate_only'.
Thanks in advance?