Wilson WindowWare Tech Support

WinBatch WinBatch+Compiler WebBatch
Home | Tech Database | Tech BBS | White Papers | Purchase


Get Parameters from a Stored Procedure

 Keywords:  qFetch Stored Procedure

Question:

By using the ODBC extender I am executing a stored procedure in my Microsoft SQL server;
DECLARE @r int
EXECUTE sp_mysp 'param1', 'param2', @result = @r OUTPUT
SET Result = @r
Now, how do I get the parameters into WinBatch, since this stored procedure is not returning a recordset I cannot use qFetch!

Anyone?

Answer:

You could:
Article ID:   W14774