• Thanks Lynn, that was the problem... darn I did not even think anything when I read the T-SQL.. you were right that they created this as a maintenance plan. Interesting that our non-system databases are all done using stored proc's but the system ones use maintenance plans.