on 2023 Dec 07 8:12 AM

Hello Community,
I have created a stored procedure, i want set the value for parameter Code to get last value from table + 1.
i am not getting how and where to use it, without setting value of parameter. stored procedure is running as user have to enter value manually in parameter.
Image attached, condition ishighlighted.
BR,
Request clarification before answering.
Firstly,you can create procedure’s as repository objects instead of catalog objects that gives more flexibility to change.(just a thought)
Also you can declare a variable in the procedure and use into key word to put it in the variable,then you can use the variable value +1 and return.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 18 | |
| 7 | |
| 6 | |
| 6 | |
| 6 | |
| 4 | |
| 3 | |
| 3 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.