Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
Author |
Topic |
under2811
Constraint Violating Yak Guru
366 Posts |
Posted - 2005-11-27 : 23:33:54
|
Hello friends!!I got some trouble here in Jobs...I ahve job scheduled for shrinkdb...like..dbcc shrinkfile (@DBFILE)......log file of DBBut what i observed that this job is frequently failed but when I used same query written in the job... in QA then i got result in 2 or 3 sec..and sucessfully shrinked log file.....but through job it failed...why ????Please help me out.... |
|
sachinsamuel
Constraint Violating Yak Guru
383 Posts |
Posted - 2005-11-28 : 01:35:44
|
Right click the job in EM and check the see the job history for the error. I doubt that it may be because of Owner assigned to the job.RegardsSachinDon't sit back because of failure. It will come back to check if you still available. -- Binu |
 |
|
Kristen
Test
22859 Posts |
Posted - 2005-11-28 : 02:05:41
|
"dbcc shrinkfile (@DBFILE)......log file of DB"As an aside ... its almost always a bad idea to SHRINK the database / log file, particularly on a scheduled basisKristen |
 |
|
|
|
|