我试图运行一个procedure
where if the PK
is null
then insert variables
。我执行了procedure
并没有收到错误,但是当我去看它时table
它仍然是空的。这是我的代码:
declare
type tempcursor is ref cursor;
v_cur_result tempcursor;
errcode number;
errmesg varchar2(1000);
begin
ct_cu_act_um_pg.spt_save_casedetail
(null, 8172923, 'SRVCTYPE_CARDPULREHB', systimestamp, 23861881, systimestamp,
systimestamp, 'CASESTS_COMPL', 'CASESTSCAT_CLSD',
23778805, 'SRCSRVC_URGNT', 'RESOLS_TRMNTREND', 23778805, 'SRVCDESC_BEDTOIL', 'Y', 'ADAM WAS HERE', 23778805, 'PLCSRVC_OTH', 'N',
'ADAM', v_cur_result, errcode, errmesg);
end;
规格如下:
procedure spt_save_casedetail (
p_casedetailid_in in casedetail.casedetailid%type,
p_primarymemberplanid_in in casedetail.primarymemberplanid%type,
p_servicetypecd_in in casedetail.servicetypecd%type,
p_notifydt_in in casedetail.notifydt%type,
p_assignedentityid_in in casedetail.assignedentityid%type,
p_startdt_in in casedetail.startdt%type,
p_enddt_in in casedetail.enddt%type,
p_casetypemnemonic_in in casedetail.casetypemnemonic%type,
p_casestatusmnemonic_in in casedetail.casestatusmnemonic%type,
p_odsorderingproviderid_in in casedetail.odsorderingproviderid%type,
p_sourcemnemonic_in in casedetail.sourcemnemonic%type,
p_caseresolutionmnemonic_in in casedetail.caseresolutionmnemonic%type,
p_odsservicingproviderid_in in casedetail.odsservicingproviderid%type,
p_serviceitemmnemonic_in in casedetail.serviceitemmnemonic%type,
p_providerinnetworkind_in in casedetail.providerinnetworkind%type,
p_detailtxt_in in casedetail.detailtxt%type,
p_odsfacilityvendorid_in in casedetail.odsfacilityvendorid%type,
p_servicelocationcd_in in casedetail.servicelocationcd%type,
p_facilityinnetworkind_in in casedetail.facilityinnetworkind%type,
p_audit_user_in in casedetail.updatedby%type,
p_return_cur_out out sys_refcursor,
p_err_code_out out number,
p_err_mesg_out out varchar2);
我和某人谈过,他们说了一些关于打开的事情,cursor
但我不确定该怎么做,所以我正在调查它。无论如何,任何朝着正确方向的轻推都会受到赞赏,在此先感谢。