|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Stay one step ahead of the competition. Evaluate and give feedback
on some of the hottest web development tools on the market today.
Make your opinion heard! Click
Here
|
|
#1
|
|||
|
|||
|
stored procedure declaration?
hi i got a stored procedure declared like this :
CREATE PROCEDURE sp_AddOrder ( @bill_fname varchar(50) = Null, @bill_lname varchar(50) = Null, @items_ordered_Array varchar(500) = '0', @new_pk_order_id int output ) AS .......the body........... and yet when i execute it, it needs @neew_pk_order_id as an input even though it's and output parameter..... any suggestions?
__________________
ania |
|
#2
|
|||
|
|||
|
Hi aniaahh
You need to use a variable for the procedure invocation to get the value stored in @new_pk_order_id, it won't be an input variable rather an output that you may need to process in your calling code. Good Luck |
![]() |
| Viewing: Dev Shed Forums > Databases > MS SQL Development > stored procedure declaration? |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|