V_PRPSPERSON varchar2 (100);
V_count NUMBER;
The BEGIN
V_PRPSPERSON:="' 172506213" '| |', '| |', '172506211' ' '.
SELECT COUNT (*) INTO v_count from PRPSperson WHERE a a.u sercode IN (V_PRPSPERSON);
End CS;
Oracle stored procedure joining together the string, in way, why not ask god for help! Urgent urgent
CodePudding user response:
Can only be used in constant or variable list, cannot be used for splicing of string,CodePudding user response:
If just want to use the string, can only write the dynamic SQL,CodePudding user response:
Want to use dynamic SQL, or cursor loop to deal withCodePudding user response:
Ok, thank youCodePudding user response: