dbTalk Databases Forums  

Housekeeping DTS Logs

microsoft.public.sqlserver.dts microsoft.public.sqlserver.dts


Discuss Housekeeping DTS Logs in the microsoft.public.sqlserver.dts forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Hoon
 
Posts: n/a

Default Housekeeping DTS Logs - 02-14-2004 , 07:19 PM






Hi, anyone know of anyway to purge DTS Logs up to certain
date? The key thing here is I need to automate this job
instead of manually deleting the logs from Enterprise Manager.

Thanks in advanced

rgds,
Hoon

Reply With Quote
  #2  
Old   
Darren Green
 
Posts: n/a

Default Re: Housekeeping DTS Logs - 02-15-2004 , 05:30 AM






In message <fd9c01c3f361$d2454c40$a101280a (AT) phx (DOT) gbl>, Hoon
<anonymous (AT) discussions (DOT) microsoft.com> writes
Quote:
Hi, anyone know of anyway to purge DTS Logs up to certain
date? The key thing here is I need to automate this job
instead of manually deleting the logs from Enterprise Manager.

Thanks in advanced

rgds,
Hoon
The logs are all in tables in msdb, dbo.sysdtspackagelog,
dbo.sysdtssteplog, dbo.sysdtstasklog, so you can write your own delete
statements with the logic you require.

There are some supplied procedures, but they are execution based, see
sp_dump_dts***.

--
Darren Green (SQL Server MVP)
DTS - http://www.sqldts.com

PASS - the definitive, global community for SQL Server professionals
http://www.sqlpass.org



Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.