kh是char(32)位,运行时出现1213:A character to numeric conversion process failed
如果用
select * from hbmd where kh =‘1’
则不会报错
想问下这是什么原因,因为我尝试用10位char型的数据进行查询时直接用数值型也不会报错
...全文
2199回复打赏收藏
informix进行select查询时出现1213报错
原语句是select * from hbmd where kh =1 kh是char(32)位,运行时出现1213:A character to numeric conversion process failed 如果用select * from hbmd where kh =‘1’则不会报错 想问下这是什么原因,因为我尝试用10位char型的数据进行查询时直接用数值型也不会报错