原创  一个case查询语句的使用例子 收藏

Create proc Proc_GetConfig  as  select id,(case isOpen  when '0' then '不开放' when  '1' then '开放' end )as isOpen,(case isSearch when '0' then '不开放' when '1' then '开放' end ) as isSearch   from tb_config 

发表于 @ 2008年06月19日 02:36:00 | 评论( loading... ) | 编辑| 举报| 收藏

旧一篇:一个多条件查询的例子 | 新一篇:DOS命令 NSlookup

  • 发表评论
  • 评论内容:
  •  
Copyright © stevenjin
Powered by CSDN Blog