一个sql语句的编写 a 表中有个字段flag ,在表中的值是0和1现在想让他1显示 是 ,0显示 否,不再建立一个表专门 盛放0 否 1 是能不能用sql语句实现我的要求 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 select case flag when 1 then '是' else '否' end from a select case flag when 1 then 'yes' when 0 then 'no' end from tblname select case flag when 1 then '是' when 0 then '否' endfrom tablename select 你想要的字段名=case when flag=0 then '是' else '否' end ,其他字段 from a这是sql server的写法,如果是oracle要用decode oracle:select decode(flag,1,'是',0,'否') from a 棘手的问题 获得Windows启动方式?? 调用vc的dll(有关串口),生成的exe可以正常运行,但是在编译环境中运行时,串口却释放不掉,高人入! 我想顺序执行4个DOS程序,请大家帮帮我 HELP! 请教,如何在OCX里,给OCX所在的当前页面里的隐藏域付值?谢谢 帮忙看一下 findnextfile 函数哪里有错 如何用vb判断一个文件是否为文本文件 ☆☆☆☆☆☆☆☆☆☆Line Input 的问题☆☆☆☆☆☆☆☆☆ ????如何用mshflexgrid+text 控件实现表单输入?????? 关于程序关闭的问题(很菜) 请问我在一个窗体里如何得到一个控件的句柄
when 1 then '是'
when 0 then '否'
end
from tablename
这是sql server的写法,如果是oracle要用decode
select decode(flag,1,'是',0,'否') from a