gsk's place

my love

  博客园 :: 首页 :: 新随笔 :: 联系 :: 订阅 :: 管理 ::

2012年3月21日

摘要: declare@test varchar(10);set @test=null;select @test,case when rtrim(@test)='' then '空字符' when rtrim(@test) is nullthen 'null' else '非空字符' end说明:如果字符类... 阅读全文
posted @ 2012-03-21 14:40 gsk99 阅读(500) 评论(0) 推荐(0)