当前位置:网站首页>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
边栏推荐
- 铠侠携手Aerospike提升数据库应用性能
- Shared memory + inotify mechanism to achieve multi-process low-latency data sharing
- Tencent Internship Summary
- typescript65-映射类型(keyof)
- UDP broadcast
- 利用将网页项目部署到阿里云上(ngnix)
- Shiny04---Application of DT and progress bar in shiny
- Japan Sanitary Equipment Industry Association: Japan's warm water shower toilet seat shipments reached 100 million sets
- UDP组(多)播
- 360度反馈调查表中的问题示范
猜你喜欢
随机推荐
MySQL:连接查询 | 内连接,外连接
一天学会从抓包到接口测试,通过智慧物业项目深度解析
怎么样避免线上内存泄漏
typescript63-索引签名类型
Promise (三) async/await
日本卫生设备行业协会:日本温水喷淋马桶座出货量达1亿套
[instancetype type Objective-C]
Falsely bamboo brother today and found a localization of API to use tools
typescript64-映射类型
golang-条件语句
Task flow scheduling tool AirFlow,, 220804,,
利用将网页项目部署到阿里云上(ngnix)
HR:这样的简历我只看了5秒就扔了,软件测试简历模板想要的进。
(4) Rotating object detection data roLabelImg to DOTA format
2022最强版应届生软件测试面试攻略
MySql面试题总结
MySQL:JDBC编程
1、Citrix XenDesktop 2203之AD域系统安装(一)
开源中国活动合作说明书
2022熔化焊接与热切割操作证考试题及模拟考试









