dbTalk Databases Forums  

DTS execution and Logging the errors on the Fly

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


Discuss DTS execution and Logging the errors on the Fly in the microsoft.public.sqlserver.dts forum.



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

Default DTS execution and Logging the errors on the Fly - 11-27-2004 , 06:37 AM






Hello All,

I'm new to DTS and was asked to work on a task. It involves copying records
from tables of one server to
a database on another server.

This is pretty simple; however, they would want the package also to log all
errors, display a summary of
tables transferred along with the record count and email the log file.

The Typical errors that are required to logged are
[1] SQLServer does not exist or access denied
[2] Login Failed for user "Username"
[3] Invalid Database : Could not locate entry in sysdatabases for database
'Transact'. No entry found with
that name. Make sure that the name is entered correctly.
[4] SELECT permission denied on object 'Employees', database 'BEmployee',
owner 'dbo'

I'm not sure if DTS allows this type of logging. One way to address the
above would be to check for the
above errors before the actual package runs. But if this can be handled on
the fly it would be nice.

Apart from logging the above errors, it is required to also have the list of
tables transferred along with successfully
transferred number of records and number of errored records.

Table Transferred Errored
---------- ------------ -----------
Employee 23999 0
Dept 21 2
Order 874655 0
Inventory 92129778 98

I know that the number of transferred/errored records can be tracked in the
Post-Source Data Phase of
transformation.

Thanks,
rgn



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.