sql - How i can write new_column in where? -
select *,stuff((select ',' + struktur_bolmesi tb_structure concat(',',bolmeler,',') concat('%,',struktur_id,',%') xml path('') ), 1, 1, '') new_column tb_customers new_column '%text%'
please try this
tbl as( select *,stuff((select ',' + struktur_bolmesi tb_structure concat(',',bolmeler,',') concat('%,',struktur_id,',%') xml path('') ), 1, 1, '') new_column tb_customers ) select * tbl new_column '%text%'
Comments
Post a Comment