不能比较或排序 text、ntext 和 image 数据类型,除非使用 IS NULL 或 LIKE 运算符。
select * from [8755].dbo.A_user where addtime>='2013-04-01' and addtime<'2013-05-10'
and vip=0 and sex=2 and find=123
一运行就提示 不能比较或排序 text、ntext 和 image 数据类型,除非使用 IS NULL 或 LIKE 运算符。
求帮助!!!
主要是添加了find以后就出现这样的错误了!
直接运行select * from [8755].dbo.A_user where addtime>='2013-04-01' and addtime<'2013-05-10'
and vip=0 and sex=2 是没错的!