我正在尝试建立一个甲骨文顶点网页。我有在DB可视化工具中运行的SQL查询,它很好。它应该可以获取大约700万条记录,但是由于限制了db-vis中的行数,它将停止在1000条记录。
这是我的SQL查询:
select t.*, t.rowid from table t
where custedp =
( select min(custedp) from tablex
where fullorderno like substr('${ORD}$',1,8) || '%' );
我试图通过一个p2_new的页面项输入ORD变量,因此我的新SQL查询是
select t.*, t.rowid from table t
where custedp =
( select min(custedp) from tablex
where fullorderno like substr(:P2_new,1,8) || '%' );
我在网页新建(静态内容)、页面项(文本字段)p2_新建和按钮提交中创建了一个区域,该区域将提交页面。
在这里之前,当我将新区域从静态内容更改为经典报告时,页面完全不加载,一切都很好。它正在加载…在选项卡上,地址栏显示“关于:空白”。我试图验证代码,它还向我展示了
ajax call returned server error ora-20001 :error at line 1 error when I
tried to validate the code using the in built validator .