------解决方案-------------------- select case IsEnabled when 1 then '启用' else '不启用' end as IsEnabled
------解决方案-------------------- Select id,Content,case when isEnabled=1 then '启用' else '不启用' end IsEnabled From tb_Test
------解决方案-------------------- select ID,Content, case IsEnabled when 0 then '启用' when 1 then '不启用' else IsEnabled end from tb_Test
------解决方案--------------------
------解决方案-------------------- select ID,Content,case IsEnabled when 1 then '启用' else '不启用' end as IsEnabled from tb_Test