EXEC SP ‘procAlertGetOut’ WITH
‘@alerID’=SPParam.AlertId,’@alertName’=SPParam.AlertName OUT
What if I have to return 2 params from stored proc. How do I write that?
EXEC SP ‘procAlertGetOut’ WITH 2 params return
-
- Posts: 370
- Joined: Sat Apr 28, 2018 3:33 am
- Location: India
- Contact:
Re: EXEC SP ‘procAlertGetOut’ WITH 2 params return
I believe you can have many input and output params. Just put an out after each one. Did you try that?
The only limitation is with the EXEC_SPF. It can only have 1 OUT
Bruce
The only limitation is with the EXEC_SPF. It can only have 1 OUT
Bruce
-
- Posts: 370
- Joined: Sat Apr 28, 2018 3:33 am
- Location: India
- Contact:
Re: EXEC SP ‘procAlertGetOut’ WITH 2 params return
That worked! Thank you.