1.使用 charindex('aa',字段名) 方法来判断一个是否存在.

2.select  * ,cardstatename=(case cardstate when 0 then '否' when 1 then '是' end) from  tblcard

posted on 2009-07-09 16:14  流星陨落  阅读(2165)  评论(2编辑  收藏  举报