为什么在DB2中运行选择查询,将错误作为字符串“ DECFLOAT”抛出?

时间:2019-07-12 02:45:58

标签: db2

在函数“ DECFLOAT”的字符串参数中找到无效字符。.SQLCODE = -420,SQLSTATE = 22018,DRIVER = 4.16.53

Select VEHICLE_FAMILY from BASE_CONFIGURATION where MODEL_YEAR = 2021;

1 个答案:

答案 0 :(得分:0)

尝试

Select VEHICLE_FAMILY from BASE_CONFIGURATION where MODEL_YEAR = '2021'