在视图设计器中使用case语句出现问题,难道在视图中不能使用? select a= (case a when '1' then '不通过' when '0' then '通过' when '9' then '未定' end) from table1 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 视图可以支持CASE呀,你把它改成select a= case a when '1' then '不通过' when '0' then '通过' when '9' then '未定' end from table1就可以了 我加了END还是报错“查询设计器不支持 CASE SQL 构造“,难道不能在查询设计器中添加,晕啊! select case a when '1' then '不通过' when '0' then '通过' when '9' then '未定' end as 'a' from table1就可以了 我也遇到这样的问题了,我感觉是SQL Server企业管理器的BUG,case运行没有问题但是就是提示不支持case构造SQL,我在Visual Studio .NET 2003的环境中连接SQL Sevrer以后,再设计试图什么问题都没有!!! SQL语句怎么写 批量删除数据库中的一段代码 sql server 2005和2008安装问题,我新手,谁帮帮我? clr存储过程的调用 请教一个很简单的copy表的问题 请问高手,如何通过本地指定端口访问网络上的数据库?(具体内容见贴,分不够再加) SQL Server Reporting 中的list部分显示空白 急!!!!请教各位高手啊······· 那位大虾有看过这类数据加密办法的? 各位好,我是一个编程新手,想用VFP6.0编一个简单的超市管理软件。 怎样删除同一字段的所有列? 一个错误提示,看不明白
select a= case a when '1' then '不通过'
when '0' then '通过'
when '9' then '未定' end
from table1
就可以了
select case a when '1' then '不通过'
when '0' then '通过'
when '9' then '未定' end as 'a'
from table1
就可以了