Kettle Spoon 的执行SQL脚本组件报“标识符无效”错误解决方案

数据源:Oracle10g
2013/08/24 17:07:49 - 删除目标表记录.0 - ERROR (version 4.4.0-stable, build 17588 from 2012-11-21 16.02.21 by buildguy) : 运行该步骤时发生错误!
2013/08/24 17:07:49 - 删除目标表记录.0 - ERROR (version 4.4.0-stable, build 17588 from 2012-11-21 16.02.21 by buildguy) : 
2013/08/24 17:07:49 - 删除目标表记录.0 - ERROR (version 4.4.0-stable, build 17588 from 2012-11-21 16.02.21 by buildguy) : Couldn't execute SQL: DELETE FROM MS_SD_RT WHERE SOUR_ORG_NO = '31101' and STD_TYPE=aa
2013/08/24 17:07:49 - 删除目标表记录.0 - ERROR (version 4.4.0-stable, build 17588 from 2012-11-21 16.02.21 by buildguy) : 
2013/08/24 17:07:49 - 删除目标表记录.0 - ERROR (version 4.4.0-stable, build 17588 from 2012-11-21 16.02.21 by buildguy) : ORA-00904: "AA": 标识符无效


解决方案:将组件中的sql条件参数(以?表示)以单引号包裹(如:DELETE FROM MS_SD_RT WHERE SOUR_ORG_NO = '31101' and STD_TYPE='?'

你可能感兴趣的:(Kettle,etl,spoon,Oracle标识符无效)