当前位置: 代码迷 >> Sql Server >> 求一句解决办法
  详细解决方案

求一句解决办法

热度:102   发布时间:2016-04-27 16:43:35.0
求一句
用一句话反回一个布尔型值,求TABLE1是是否存在某数据

------解决方案--------------------
我想问一下select (case when exists(select 1 from sysobjects where name= 'test ') then 1 else 0 end)
中的select 1--- from 但是在数据库没有1这个字段,那位可不可以给我讲解一下,谢谢.
  相关解决方案