当前位置:网站首页>What is the correct way to compare ntext columns with constant values- What's the right way to compare an NTEXT column with a constant value?
What is the correct way to compare ntext columns with constant values- What's the right way to compare an NTEXT column with a constant value?
2022-07-03 03:54:00 【Rich in starch】
problem :
If I use something like If I use something similar
[ntext2] <> '1,032.5',
I get this error: I received this error :
The data types ntext and varchar are incompatible in the not equal to operator. data type ntext and varchar Incompatible when not equal to operator .
The best possible solution would be if comparison is implemented in the same way for any column type. The best solution is , If you compare any column type in the same way .(<> operator is applicable for both NVARCHAR and INT).(<> Operators apply to NVARCHAR and INT).
Solution :
Reference resources : https://stackoom.com/en/question/ErqM边栏推荐
- Arlo's thinking about himself
- Is pytorch open source?
- Advanced redis applications [password protection, data persistence, master-slave synchronization, sentinel mode, transactions] [not completed yet (semi-finished products)]
- Ansible introduction [unfinished (semi-finished products)]
- Applet (continuous update)
- nodejs基础:浅聊url和querystring模块
- [Apple Photo Album push] IMessage group anchor local push
- [combinatorics] brief introduction to generating function (definition of generating function | Newton binomial coefficient | commonly used generating function | correlation with constant | correlation
- [leetcode question brushing day 34] 540 Unique element in array, 384 Disrupt array, 202 Happy number, 149 Maximum number of points on a line
- CEPH Shangwen network xUP Nange that releases the power of data
猜你喜欢
MongoDB簡介
leetcode:动态规划模板
小程序获取用户头像和昵称
Wechat applet + Alibaba IOT platform + Hezhou air724ug build a serverless IOT system (III) -- wechat applet is directly connected to Alibaba IOT platform aliiot
How does the pytorch project run?
What can learning pytorch do?
在 .NET 6 项目中使用 Startup.cs
nodejs基础:浅聊url和querystring模块
Makefile demo
[home push IMessage] software installation virtual host rental tothebuddy delay
随机推荐
PHP generates PDF tcpdf
小程序获取用户头像和昵称
Recursive use and multi-dimensional array object to one-dimensional array object
[Apple Push] IMessage group sending condition document (push certificate) development tool pushnotification
QSAR model establishment script based on pytoch and rdkit
How does the pytorch project run?
sigaction的使用
Simple wechat applet development page Jump, data binding, obtaining user information, obtaining user location information
『期末复习』16/32位微处理器(8086)基本寄存器
ffmpeg录制屏幕和截屏
Without sxid, suid & sgid will be in danger- Shangwen network xUP Nange
递归:深度优先搜索
Download and install node, NPM and yarn
Introduction to mongodb
Null and undefined
Advanced redis applications [password protection, data persistence, master-slave synchronization, sentinel mode, transactions] [not completed yet (semi-finished products)]
vim 的实用操作
The latest analysis of the main principals of hazardous chemical business units in 2022 and the simulated examination questions of the main principals of hazardous chemical business units
[mathematical logic] propositional logic (judgment of the correctness of propositional logic reasoning | formal structure is eternal truth - equivalent calculus | deduction from premise - logical reas
2022 mobile crane driver examination registration and mobile crane driver operation examination question bank