sql server中case when的用法sql server中case when的用法
sql server中case when的用法不使用like写法: case A when '1' then '对' when '0' then '错' else '错' end as A from Table使用Like的写法: case when A like '%1%' then '对' when A like '%0%' then '错' else '错' end as A from Ta...