sql server 2008 - How to use `LIKE` operator as a column in `SQL`? -
i want use like
operator column such:
select name, (name '%flow%') bool1 table1 ...
and result such:
name bool1 -------------- ---------- on flow 1 stack on flow 1 stack on 0
select name, case when name '%flow%' 1 else 0 end bool1 table1 where...