dbTalk Databases Forums  

Log stored procedure runned with DTS

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


Discuss Log stored procedure runned with DTS in the microsoft.public.sqlserver.dts forum.



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

Default Log stored procedure runned with DTS - 01-13-2004 , 10:25 AM






Hi,

Here is my problem. I have created some stored procedure. In them I do
some print in order to know what the stored proc does. Now I execute
my sp with DTS. How can I get these 'print' in DTS?
I is quite important for me for debugging matter.

Thanks a lot

Lydie

Reply With Quote
  #2  
Old   
Narayana Vyas Kondreddi
 
Posts: n/a

Default Re: Log stored procedure runned with DTS - 01-13-2004 , 11:58 AM






The PRINT output will probably show up in the job history, but then it may
not, as DTS itself outputs a lot of status information.

A reliable way might be to write the status information to a text file using
DTS, or to a table in your database.
--
HTH,
Vyas, MVP (SQL Server)
http://vyaskn.tripod.com/
Is .NET important for a database professional?
http://vyaskn.tripod.com/poll.htm


"lydie" <lsoler (AT) caramail (DOT) com> wrote

Hi,

Here is my problem. I have created some stored procedure. In them I do
some print in order to know what the stored proc does. Now I execute
my sp with DTS. How can I get these 'print' in DTS?
I is quite important for me for debugging matter.

Thanks a lot

Lydie



Reply With Quote
  #3  
Old   
lydie
 
Posts: n/a

Default Re: Log stored procedure runned with DTS - 01-14-2004 , 02:19 AM



Thanks for your reply.
My PRINT output doesn't show up in the job history: I only get the DTS
status information.
Writing to a text file is exactly what I want to do. Do you know a
simple way?
Thanks again
Lydie

"Narayana Vyas Kondreddi" <answer_me (AT) hotmail (DOT) com> wrote

Quote:
The PRINT output will probably show up in the job history, but then it may
not, as DTS itself outputs a lot of status information.

A reliable way might be to write the status information to a text file using
DTS, or to a table in your database.
--
HTH,
Vyas, MVP (SQL Server)
http://vyaskn.tripod.com/
Is .NET important for a database professional?
http://vyaskn.tripod.com/poll.htm


"lydie" <lsoler (AT) caramail (DOT) com> wrote in message
news:37ffdd66.0401130825.468e2211 (AT) posting (DOT) google.com...
Hi,

Here is my problem. I have created some stored procedure. In them I do
some print in order to know what the stored proc does. Now I execute
my sp with DTS. How can I get these 'print' in DTS?
I is quite important for me for debugging matter.

Thanks a lot

Lydie

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.