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