1.

Solve : Get return value of Store procedure from batch?

Answer» HI all,
How can I get return value of store procedure from batch file.

I can get reuturn value from SQL using EXIT(%query%).
But when I use EXIT("exec MyStore"). It cannot !

PLEASE HELP me!

Thank you.
can post your code?Hi all,
I have SOLVED that problem.
I ceated a view to store error code (the value that I want to return), and get error code from that view by using normal select.

Thank you.



Discussion

No Comment Found