【发布时间】:2011-10-22 23:42:33
【问题描述】:
此请求按预期工作:
select dit_in.id data_item_in, dit_out.id data_item_out, alg.id algo_id
from algorithm_run arun
join algorithm_run_of arof on
arof.algorithm_run_id = arun.id
join algorithm_run_input arin on
arin.algorithm_run_id = arun.id
join data_item dit_in on
dit_in.id = arin.data_item_id
join algorithm alg on
alg.id = arof.algorithm_id
join algorithm_run_output arout on
arout.algorithm_run_id = arun.id
join data_item dit_out on
dit_out.id = arout.data_item_id
where alg.id in (182,183,143,162,125,222)
不幸的是,我在末尾添加时出现错误:
and arun.start_time >= to_date(’01/jun/2011’,’dd/mm/yyyy’)
and arun.start_time < to_date(’01/jul/2011’,’dd/mm/yyyy')
我使用的是网页界面,错误信息是:
警告:oci_execute() [function.oci-execute]:ORA-00911:/opt/csw/apache2/share/htdocs/DAE/sites/default/modules/data_repository/data_repository.inc 第 117 行的无效字符.
警告:oci_fetch_row() [function.oci-fetch-row]:ORA-24374:在 /opt/csw/apache2/share/htdocs/DAE/sites/default/modules 中获取或执行和获取之前定义未完成/daedatabase/daedatabase_db.inc 在第 852 行。
【问题讨论】:
-
解释“开始失败”。如果它给出错误消息,请发布错误消息。如果返回错误数据,请描述应该返回的数据与返回的数据。
-
用错误信息编辑帖子。
标签: sql oracle oracle-call-interface