sql server - SQL - Joining tables where one of the columns is a list -
i'm tryin join 2 tables. problem i'm having 1 of columns i'm trying join on list.
so possible join 2 tables using "in" rather "=". along lines of
select id tablea inner join tableb on tableb.misc in tablea.misc tableb.misctitle = 'help me please' tableb.misc = 1 tablea.misc = 1,2,3
thanks in advance
no want not possible without major workaround. not store items want join in list! in fact comma delimited list should never stored in database. acceptable if note type information never need used in query clasue or join.
if stuck horrible design, have parse out list temp table or table variable , join through that.
Comments
Post a Comment