Using a string which comprises of values in a query
So this sounds probably likea stupid question but I've never done something liek this....
I have a string that looks like this....
ValueID = 123, 234, 345, 466, 456
I also have a query that goes like this...
Select * from Tbl1 where SomeValue In (123,234,345, 466, 456)
So what I'm trying to do now is this...
Select * from Tbl1 where someValue in (ValueID)
Is something like that doable?