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 |
|
peterlemonjello
Yak Posting Veteran
53 Posts |
Posted - 2006-05-12 : 16:01:25
|
| Is there a way to use a parm in the 'IN' of a where clause?Example (integerValue is an int datatype):declare @list as varchar(max)set @list = '1, 2, 3, 4'select *from table1where integerValue IN ( @list ) |
|
|
tkizer
Almighty SQL Goddess
38200 Posts |
Posted - 2006-05-12 : 16:10:29
|
| http://www.sqlteam.com/item.asp?ItemID=11499Tara Kizeraka tduggan |
 |
|
|
peterlemonjello
Yak Posting Veteran
53 Posts |
Posted - 2006-05-12 : 16:13:56
|
| Thanks! |
 |
|
|
mmarovic
Aged Yak Warrior
518 Posts |
|
|
|
|
|