Hi,
Stored procedures are very new to me and I guess my Q stupid, but I'll go a head any way.
Why doesn't it works?
Alter Procedure UpdateProc @Clientx char(10), @ClientNum int AS Update Product Set @Clientx= @ClientNum
All I want to do is sending 2 parameters to the procedure (Filed name and Value) and to update. It only let me do that if the field name is written as it is in the procedure.
Thanks
Yossi
Stored procedures are very new to me and I guess my Q stupid, but I'll go a head any way.
Why doesn't it works?
Alter Procedure UpdateProc @Clientx char(10), @ClientNum int AS Update Product Set @Clientx= @ClientNum
All I want to do is sending 2 parameters to the procedure (Filed name and Value) and to update. It only let me do that if the field name is written as it is in the procedure.
Thanks
Yossi