Hi Group,
My stored proc is something like this: "select * from authors where state in (@State) and lastname like 'B%'"
the following sql works fine "select * from authors where state in ('CA','PA','NJ') and lastname like 'B%'"
I am unable to send the @state parameter from query analyzer.
Any ideas?
My stored proc is something like this: "select * from authors where state in (@State) and lastname like 'B%'"
the following sql works fine "select * from authors where state in ('CA','PA','NJ') and lastname like 'B%'"
I am unable to send the @state parameter from query analyzer.
Any ideas?