Quantcast
Channel: Forum Getting started with SQL Server
Viewing all articles
Browse latest Browse all 7129

expects parameter , which was not supplied.

$
0
0

Hi All

Please help me

I have written a stored procedure

use AdventureWorks2008R2
Go
CREATE PROCEDURE uspGetAddress
@City nvarchar(30)
AS
set @City=(SELECT *
FROM Person.Address
WHERE City='Bothell')
SELECT *
FROM Person.Address
WHERE City = @City
GO

while checking output like below I am getting error expects parameter , which was not supplied.

But I set the @City value as 'Bothell' why it is still coming.Please hep

exec uspGetAddress Thanks


Remember Past Challenge Future"



Viewing all articles
Browse latest Browse all 7129

Trending Articles