hi,
I have written the following stored procedure:
set ANSI_NULLS ON set QUOTED_IDENTIFIER ON go ALTER procedure [dbo].[spUpdateIndividualUser] ( @Username varchar (50), @Password varchar (50), @Email varchar (50), @Mobile varchar (50), @Country varchar (50), @City varchar (50), @Receivesms varchar (50) ) as begin update IndividualUser set Password = @Password , Email=@Email, Mobile=@Mobile, Country=@Country, City=@City, Receivesms=@ReceiveSms where UserName=@Username end
when I Execute the update I get the following error:
Msg 137, Level 15, State 2, Line 2
Must declare the scalar variable "@Password".
please help to solve this matter.
regards.