Please start any new threads on our new
site at http://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
Our new SQL Server Forums are live!
Come on over! We've restricted the ability to create new threads on these forums.
Posting Yak Master
...WHERE Column LIKE '%' + @Param + '%'
Flowing Fount of Yak Knowledge
Declare @t table (a varchar(12))
Declare @param varchar(12)
Set @param = 'A'
insert @t values ('A;D;G;F')
select * from @t where a like '%' + @param + '%'
(1 row(s) affected)
Aged Yak Warrior