dbTalk Databases Forums  

Log Error into a SQL Table

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


Discuss Log Error into a SQL Table in the microsoft.public.sqlserver.dts forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
David N.
 
Posts: n/a

Default Log Error into a SQL Table - 01-14-2004 , 06:21 PM







Hi All,

Is there a way to tell DTS to log an error, or to call a stored procedure
that logs the error, to a SQL table in SOURCE and/or DESTINATION database?

Thanks.



Reply With Quote
  #2  
Old   
Allan Mitchell
 
Posts: n/a

Default Re: Log Error into a SQL Table - 01-15-2004 , 12:31 AM






You have to write your own.

In 2000 there are tables in msdb that you can enable in the package to do a
part of this. (sysdtssteplog, sysdtstasklog)

You could look to use the Multiphase data pump task to do this

Multiphase Data Pump (Field Notes)
(http://www.sqldts.com/default.aspx?282)

BOL:
mk:@MSITStore:C:\Program%20Files\Microsoft%20SQL%2 0Server\80\Tools\Books\dts
sql.chm::/dts_elemtsk1_2yux.htm

--
--

Allan Mitchell MCSE,MCDBA, (Microsoft SQL Server MVP)
www.allisonmitchell.com - Expert SQL Server Consultancy.
www.SQLDTS.com - The site for all your DTS needs.
I support PASS - the definitive, global community
for SQL Server professionals - http://www.sqlpass.org


" David N." <huongdat (AT) comcast (DOT) net> wrote

Quote:
Hi All,

Is there a way to tell DTS to log an error, or to call a stored procedure
that logs the error, to a SQL table in SOURCE and/or DESTINATION database?

Thanks.





Reply With Quote
  #3  
Old   
David N
 
Posts: n/a

Default Re: Log Error into a SQL Table - 01-15-2004 , 12:22 PM



Alan,

Thanks a lot.

"Allan Mitchell" <allan (AT) no-spam (DOT) sqldts.com> wrote

Quote:
You have to write your own.

In 2000 there are tables in msdb that you can enable in the package to do
a
part of this. (sysdtssteplog, sysdtstasklog)

You could look to use the Multiphase data pump task to do this

Multiphase Data Pump (Field Notes)
(http://www.sqldts.com/default.aspx?282)

BOL:

mk:@MSITStore:C:\Program%20Files\Microsoft%20SQL%2 0Server\80\Tools\Books\dts
sql.chm::/dts_elemtsk1_2yux.htm

--
--

Allan Mitchell MCSE,MCDBA, (Microsoft SQL Server MVP)
www.allisonmitchell.com - Expert SQL Server Consultancy.
www.SQLDTS.com - The site for all your DTS needs.
I support PASS - the definitive, global community
for SQL Server professionals - http://www.sqlpass.org


" David N." <huongdat (AT) comcast (DOT) net> wrote in message
news:uMsbI2v2DHA.1184 (AT) TK2MSFTNGP10 (DOT) phx.gbl...

Hi All,

Is there a way to tell DTS to log an error, or to call a stored
procedure
that logs the error, to a SQL table in SOURCE and/or DESTINATION
database?

Thanks.







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.