|
Question : SQL Sever Store Proc Syntax for using LIKE in Where Clause with @Parameter
|
|
I'm losing my marbles (well at least my syntax). What is the syntax for using LIKE with a A StoredProc in a WHERE Clause, e.g.
WHERE (CustomerName LIKE @CustomerName%)
It doesn't like the above.
Thanks for your help
|
|
Answer : SQL Sever Store Proc Syntax for using LIKE in Where Clause with @Parameter
|
|
WHERE (CustomerName LIKE @CustomerName+'%' )
|
|
|