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 |
|
Mark Fletcher
Starting Member
2 Posts |
Posted - 2001-10-11 : 07:37:02
|
| I've got a stored procedure as belowCREATE PROCEDURE test2 @pub_id varchar(1000)ASselect * from publishers where pub_id in ( @pub_id)If you run this sp withexec test2 'TH01-S2001-3'It returns rowsIf you run it withexec test2 'LD01-S2001-1'It also returns rowsNow if you run like thisexec test2 "'TH01-S2001-3', 'LD01-S2001-1'"It doesn't...!? Does anyone know why?Thanks in advance! MarkI'm using SQLServer 7 sp 6 - Using query analyser to exec this sp. |
|
|
|
|
|