如何解决:数据类型 ntext 和 varchar 在not equal to 运算符中不兼容

select * from hrmdepartmentdefined where zhbgly = '36' 会报错。显示
sql


【Err】42000-sql server 数据类型  text和varchar 在equal to  运算符中不兼容。ide


正确的写法为:
server

select * from hrmdepartmentdefined where convert(varcahr(1000),zhbgly) = '36'it

相关文章
相关标签/搜索