@.paul That's what I tried but it doesn't like the quotes within the string

@jmcilhinney it will not always be the same amount of columns, that will vary each time.

@i00 I believer your solution selects all of the columns from both tables. I need to only select certain columns from the join statement.