5
Answers

Problem with stored procedure

B M Suchitra

B M Suchitra

13y
7.4k
1
Hi friends,
I am getting an error,can someone plzz point out where i am going wrong:
Must declare the scalar variable "@UserID".

Stored procedure is:

CREATE PROCEDURE dbo.spRetrieveBalance AS
SELECT Balance from Account WHERE
UserID=@UserID

Thank you


Answers (5)