Help with creating a list
I query id values from one of my table.
I need to come up with a list that looks like:
id='123' OR id='234' OR id='002' OR id='345' OR id='435'
I came up with 123,234,002,345,435 and '123' , '234' , '002' , '435' and also '123' OR '234' OR '002' OR '435'
but very frustrated with putting id= on each list element to come up with id='123' OR id='234' OR id='002' OR id='345' OR id='435'
Can anyone think of a technique to create such a list dynamically from a query result?
Thanks!
