不能比较或排序 text、ntext 和 image 数据类型,除非使用 IS NULL
作者:朱尚 / 日期:2014-03-08 / 分类:MsSql / 浏览:1195

guanjianci text  null

当数据类型为text 时

sql 语句不能 where guanjianci ='test'

正确 where guanjianci like '%test%'

上一篇:关于分页sql语句 order by
下一篇:Sql server还原失败(数据库正在使用,无法获得对数据库的独占访问权)
本文标签: sql like null
本文链接:http://www.banzhuan.net/detail/107