How to type of return value in stored procedure. And what are difference between them. Please explain me.
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Typically with stored procedures you expect to get back a dataset. If your looking for a way to get single values back from some type of query, you might be better suited making a UDF (user defined function).
Nonetheless, here is how you can create a stored procedure with an output variable
with this procedure, you can then execute it as follows.
Good Luck.