7. Alerts (4) â Write a PL/SQL trigger
DECLARE
return_value number;
BEGIN
-- Select the Alert and put message texts into it (can be concatenated with variables)
SET_ALERT_PROPERTY(â<Alert Name>',alert_message_text, â<Message Text>â);
-- To capture the choices that users check into a variable
return_value := show_alert(â<Alert Name>');
-- Condition when users press Button 1
IF return_value = alert_button1 THEN
<Condition 1>
--Condition when users press other buttons
ELSE <Condition 2>
END IF;
END;