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... 

Popular posts from this blog

How to calculate SNR of signals in MATLAB? -

c# - Attempting to upload to FTP: System.Net.WebException: System error -

ios - UISlider customization: how to properly add shadow to custom knob image -