difference between output and returnValue sqlParameter ?

B

bob6

Hello !

Can someone please explain to me what the difference between "output"
and "returnValue" as direction for sqlParameter in a stored Procedure
?

Thanks,
Lanz
 
W

William Ryan

You can pass back an entire record or cursor with Output params.

Every Stored Proc you fire returns a return code to the caller, and you can
control this manually with a return value. Even if you don't set them, they
still come back albiet they'll be 0.

HTH,

Bill
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top