June 11, 2011 at 1:02 am
Here is the my original old table look like,
declare @a table (a varchar(500))
insert into @a
select 'a;b;c' union all
select 'a;d;b' union all
select 'c;a;e'
My application is sending values in my SP as 'a;b' or 'b;c;a' etc,
Now I need to Select only those Rows in table @a which have a and b or b and c and a[/b]. I am using split function in my SP to make user input as table.
I have also posted this question to,
http://stackoverflow.com/questions/6310417/is-this-possible-to-use-like-with-all-keyword
June 11, 2011 at 1:28 am
I think that this article will help you out: Delimited Split Function[/url]
Wayne
Microsoft Certified Master: SQL Server 2008
Author - SQL Server T-SQL Recipes
June 11, 2011 at 3:46 am
Thanks, Wayne. I got answer from here,
http://stackoverflow.com/questions/6310417/is-this-possible-to-use-like-with-all-keyword
Viewing 3 posts - 1 through 2 (of 2 total)
You must be logged in to reply to this topic. Login to reply