![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Hi All, How can we handle / know the errors occured with in the DTS Package? Also Can we Return/Retrieve any Value (say the final value of a Gloabl Variable after the package is executed) to the Caller Program, Like a Stored procedure? Any Suggestion or Web Site for reference. Thanks in Advance Prabhat |
#3
| |||
| |||
|
|
There are two logging options, to a SQL server or to a file for packages as a whole. Any executing program should really also check the results and expose this correctly. I would also suggest you code defensively, and check potential error conditions before they are hit. If using the OLE stored procedures to call the package from T-SQL then it is possible to read global variables out after execution. You could also write any values you want to and external location from within the package. Darren Green www.sqldts.com "Prabhat" <not_a_mail (AT) hotmail (DOT) com> wrote in message news:%23VMI8g6TEHA.3664 (AT) TK2MSFTNGP12 (DOT) phx.gbl... Hi All, How can we handle / know the errors occured with in the DTS Package? Also Can we Return/Retrieve any Value (say the final value of a Gloabl Variable after the package is executed) to the Caller Program, Like a Stored procedure? Any Suggestion or Web Site for reference. Thanks in Advance Prabhat |
![]() |
| Thread Tools | |
| Display Modes | |
| |