create or replace procedure proc_CLXX_List --查询(pro_cursor out pkg_order.p_cursor, --查询结果集pzh_ in varchar2,--牌照号beginTime_ in date,--创建日期上限endTime_ in date,--创建日期上限
) is sql_str varchar2(1000):= ' select * from o_hbbz_djb a where(:pzh_ is null or a.PZH like :pzh_) and (:beginTime_ is null or a.FFTIME > :beginTime_) and (:endTime_ is null or a.FFTIME < :endTime_) and rownum<=:500 end proc_client_List';
) is sql_str varchar2(1000):= ' select * from o_hbbz_djb a where(:pzh_ is null or a.PZH like :pzh_) and (:beginTime_ is null or a.FFTIME > :beginTime_) and (:endTime_ is null or a.FFTIME < :endTime_) and rownum<=:500 end proc_client_List';
create or replace procedure proc_CLXX_List(
pro_cursor out pkg_order.p_cursor,
pzh_ in varchar2,
beginTime_ in date,
endTime_ in date
)
is
sql_str varchar2(1000):= 'select * from o_hbbz_djb a where(:pzh_ is null or a.PZH like :pzh_)
and (:beginTime_ is null or a.FFTIME > :beginTime_)
and (:endTime_ is null or a.FFTIME < :endTime_)
and rownum<=500';
begin
open pro_cursor for sql_str
using pzh_,pzh_,beginTime_,beginTime_,endTime_,endTime_;
end;
/
PROCEDURE GL63.PROC_CLXX_LIST 编译错误错误:PLS-00201: 必须说明标识符 'PKG_ORDER.P_CURSOR'
行:2
文本:pro_cursor out pkg_order.p_cursor,错误:PL/SQL: Compilation unit analysis terminated
行:1
文本:create or replace procedure proc_CLXX_List(