Hi all,
I have a query that works fine with:
select * from Table1
where Field1 in ('47740','47993')
But if I replace '47740','47993' with a parameter in a stored procedure:
select * from Table1
where Field1 in (@Parameter1)
... I get "too many arguments specified."
How can I tell the stored procedure that it's only one argument? Is there a workaround?
Kent J.
I have a query that works fine with:
select * from Table1
where Field1 in ('47740','47993')
But if I replace '47740','47993' with a parameter in a stored procedure:
select * from Table1
where Field1 in (@Parameter1)
... I get "too many arguments specified."
How can I tell the stored procedure that it's only one argument? Is there a workaround?
Kent J.