oracle apex奇怪的零除问题
我有简单的报告(非交互式)。当我尝试从其支持 sql 查询中删除列时,它会引发异常
ORA-01476: 除数等于零
UPD:尝试删除 a.page_name 并保存报告后引发异常
select a.page_name,a.page_id, b.report_name
from APEX_WORKSPACE_ACTIVITY_LOG a, reports b, APEX_APPLICATION_PAGE_IR c
where
c.interactive_report_id = b.interactive_report_id
and c.page_id = a.page_id
and a.apex_user = :APP_USER --NVL(v('APP_USER'), USER)
and a.application_id = '157'
I have simple report (not interactive). When I try to remove column from its backing sql query it throws an exception
ORA-01476: divisor is equal to zero
UPD: exception is thrown after I try to remove a.page_name and save report
select a.page_name,a.page_id, b.report_name
from APEX_WORKSPACE_ACTIVITY_LOG a, reports b, APEX_APPLICATION_PAGE_IR c
where
c.interactive_report_id = b.interactive_report_id
and c.page_id = a.page_id
and a.apex_user = :APP_USER --NVL(v('APP_USER'), USER)
and a.application_id = '157'
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
我怀疑您要删除的列正在某处使用。
尝试导出应用程序并在文件中查找 page_name
I suspect the column you are removing is being used somewhere.
Try exporting the application and grepping the file for page_name
从表面上看,这听起来像是您的 Apex 版本中的一个错误。如果可能,请在 apex.oracle.com 上的公共页面中重新创建问题,然后在 Oracle Apex 论坛,其中包含示例链接。 Apex 开发团队参与论坛并可能提供帮助。
On the face of it that sounds like a bug in your version of Apex. If possible, recreate the problem in a public page on apex.oracle.com and then raise the issue on the Oracle Apex forum with a link to the example. The Apex development team participate in the forum and may be able to help.