Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2000 Forums
 Transact-SQL (2000)
 Store messages!

Author  Topic 

gpiva
Starting Member

47 Posts

Posted - 2004-04-23 : 01:14:29
Hello I run some sql code from query analiyzer that return me some bla bla bla messages as usual, I use the same code in a scheduled job can I write/store this messages on a log file ??




AndrewMurphy
Master Smack Fu Yak Hacker

2916 Posts

Posted - 2004-04-23 : 04:56:36
Have a look at using OSQL.....you can direct output messages into a log/report.
You can then schedule the batch file that the call to OSQL is located within.
Go to Top of Page

gpiva
Starting Member

47 Posts

Posted - 2004-04-23 : 20:21:10
Ok... I try,

thank you!

quote:
Originally posted by AndrewMurphy

Have a look at using OSQL.....you can direct output messages into a log/report.
You can then schedule the batch file that the call to OSQL is located within.

Go to Top of Page
   

- Advertisement -