问题现象
修改Type类型为:Tabular Form[Legacy]的sql时,保存报错:
ORA-20999: ‘PL/sql Function Body returning sql Query’ List of Values not supported for this type! ORA-06512: 在 “APEX_050100.WWV_FLOW_REG_RPT_COL_DEV_IOT”,line 79 ORA-04088: 触发器 ‘APEX_050100.WWV_FLOW_REG_RPT_COL_DEV_IOT’ 执行过程中出错
解决方法
这是由于apex 从4.2版本 升级到 5.1时APEX的一个BUG
解决方法为:
1. 先把TYPE变成成其它的类型
2. 再把TYPE修改成Tabular Form[Legacy]
3. 这时会弹出警告:
This will just create the tabular form and not the associated processes and validations. To generate the related processes and validations please use the Create Page wizard.