Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Print Causing Problems from ISQL

Status
Not open for further replies.

power97

Programmer
Sep 17, 2003
67
CA
Hi,
I am calling a stored procedure using isql as part of an overnight script. If I run into an error during the loop I fire a stored procedure that inserts a record into the error logging table. However , what I have found is that if I have a print statement in my error log stored procedure it causes the isql to fail returning a 1 even though the "master" procedure is returning a 0.
If I run the "master" stored procedure on it's own it seems to work fine but when run from ISQL the "print" causes an error. Any ideas ?

Thanks

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top