当前位置:网站首页>Cannot compare or sort text, ntext, and image data types
Cannot compare or sort text, ntext, and image data types
2022-08-05 07:11:00 【51CTO】
Recently, when developing a file management system, I encountered a problem: the original local database is SQL2008, and there is a field SharedUserId of nvarchar(max) type, which is occasionally queriedSQL statement used...AND SharedUserId
So, I even changed the local database field type to text, and then tested it, and a similar error was reported (even the SQL2008 is in English):
After searching on the Internet, the original query statement is slightly modified, and it works: ...AND SharedUserId replaced by ...AND DATALENGTH(SharedUserId) > 0 AND SharedUserIdIS NOT NULL
边栏推荐
猜你喜欢

女生做软件测试会不会成为一个趋势?

It turns out that Maya Arnold can also render high-quality works!Awesome Tips

2022熔化焊接与热切割操作证考试题及模拟考试

Flink学习12:DataStreaming API

任务流调度工具AirFlow,,220804,,

在STM32中使用printf函数

RNote108---Display the running progress of the R program

Shiny02---Shiny异常解决

开源中国活动合作说明书

2022 crane driver (limited bridge crane) exam question bank and simulation test
随机推荐
铠侠携手Aerospike提升数据库应用性能
Mysql为什么 建立数据库失败
The NDK compiler so libraries
golang-条件语句
女生做软件测试会不会成为一个趋势?
Vulnhub靶机:HA_ NARAK
[上海]招聘.Net高级软件工程师&BI数据仓库工程师(急)
Rapid Medical超小体积且唯一可调的取栓器获得FDA核准
【LeetCode】235.二叉搜索树的最近公共祖先
(JLK105D)中山爆款LED恒流电源芯片方案
Modeling of the MAYA ship
2022杭电多校六 1006-Maex (树形DP)
二叉搜索树问题
基于快速行进平方法的水面无人船路径规划
《PyTorch深度学习实践》第十课(卷积神经网络CNN)
MySQL:基础部分
栈与队列的基本介绍和创建、销毁、出入、计算元素数量、查看元素等功能的c语言实现,以及栈的压入、弹出序列判断,栈结构的链式表示与实现
UDP group (multi)cast
Falsely bamboo brother today and found a localization of API to use tools
HR:这样的简历我只看了5秒就扔了,软件测试简历模板想要的进。