dbTalk Databases Forums  

Stored procedure -> DOS Batch file -> OSQL -> SP communication.

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


Discuss Stored procedure -> DOS Batch file -> OSQL -> SP communication. in the microsoft.public.sqlserver.dts forum.



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

Default Stored procedure -> DOS Batch file -> OSQL -> SP communication. - 04-25-2005 , 01:58 AM






Hello,

How can I achieve the following?

Have a batch file that will get executed from a stored procedure using
xp_cmdshell.
The batch file will call another stored procedure using OSQL.
The stored procedure (after its processed the data) returns a number.
Further process flow in the batch file will depend on the value of the above
number.
How can I trap the return value from the stored procedure in the batch file?

Cheers!
SQLCatZ


Reply With Quote
  #2  
Old   
SQLCatz
 
Posts: n/a

Default Sorry! Wrong section. - 04-25-2005 , 03:24 AM






Sorry!
This is in the wrong section.
SQLCatZ


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.