【正文】
39。N39。 BEGIN IF (( : != : ) OR ( : is null and : is not null ) OR ( : is not null and : is null )) THEN CreditHold := :。 /* IF FIELD VALUE OF credit_hold IS CHANGED THEN SET */ /* THE VALUE OF THIS VARIABLE TO Y */ ChangesMade := 39。Y39。 END IF。 IF (( : != : ) OR ( : is null and : is not null ) OR ( : is not null and : is null )) THEN RiskCode := :。 ChangesMade := 39。Y39。 END IF。 IF (( : != : ) OR ( : is null and : is not null ) OR ( : is not null and : is null )) THEN CreditRating := :。 ChangesMade := 39。Y39。 END IF。 IF ChangesMade = 39。Y39。 THEN INSERT INTO ar_credit_histories (credit_history_id, last_updated_by, last_update_date, created_by, creation_date, customer_id, on_hold, hold_date, credit_rating, risk_code, site_use_id) VALUES (, :, :, :, :,:, CreditHold, decode(CreditHold, 39。Y39。, :, null ), CreditRating, RiskCode,:)。 END IF。 END。 Sun_nan2022 Oracle Application – Stored Procedure Client Server Oracle S1 S2 S3 S4 S1 S2 S3 S4 Oracle Abc(S1, S2, S3, S4) Abc Sun_nan2022 Q amp。 A