Hi,
I have the following table
create #temp (folder varchar(20), itexists varchar(1))
I would like to set the itexists folder = 'x'
where folder is in a string from another column of another database... something like this..
update #temp
set itexists = 'x'
where folder in (select imagepath from mytable2)
However the imagepath will be a long string. I just want to know if the single word in [folder] exists in [imagepath]
I have the following table
create #temp (folder varchar(20), itexists varchar(1))
I would like to set the itexists folder = 'x'
where folder is in a string from another column of another database... something like this..
update #temp
set itexists = 'x'
where folder in (select imagepath from mytable2)
However the imagepath will be a long string. I just want to know if the single word in [folder] exists in [imagepath]