Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
| Author |
Topic |
|
brianpark
Starting Member
6 Posts |
Posted - 2007-03-26 : 09:37:31
|
| Hi I am brian,I am having a problem to pass a string parameter to Stored procedure.I have a stored procedure that accept @newParma varchar(255) and inside of a stroed procedure using in in the query criteria as in select user_name from User where user_name not in (@newParam)If I assigne only one name in the parameter it works like @newParam = "'jack'" but if I pass more than one like @newParam = "'jack', 'jane'" then the stored procedure recognize entire string as one name therefore it does not reutrn anything. Anybody hany any though on this?Thanks in advnace.Brian. |
|
|
khtan
In (Som, Ni, Yak)
17689 Posts |
|
|
brianpark
Starting Member
6 Posts |
Posted - 2007-03-26 : 10:37:25
|
| Thanks khtan,It works great. |
 |
|
|
|
|
|