I have a procedure that starts something like this
function exampleX(@value1,@value2,@string1)
that is built from an online form with 3 variables and one of the variables is a string
and when I greate the sql string i get something like
exec exampleX(value1,value2,'string1,string2,string3')
how do I convert the string 'string1,string2,string3' to
'string1','string2','string3' so i can use is in a
select * from table1 where stringtype is not in (@string1)
function exampleX(@value1,@value2,@string1)
that is built from an online form with 3 variables and one of the variables is a string
and when I greate the sql string i get something like
exec exampleX(value1,value2,'string1,string2,string3')
how do I convert the string 'string1,string2,string3' to
'string1','string2','string3' so i can use is in a
select * from table1 where stringtype is not in (@string1)