📄 alertsend.sql
字号:
REM AlertSend.sql
REM Chapter 12, Oracle9i PL/SQL Programming by Scott Urman
REM This block illustrates sending an alert through DBMS_ALERT.
set serveroutput on
DECLARE
v_AlertName VARCHAR2(30) := 'MyAlert';
BEGIN
-- An alert is sent by the SIGNAL procedure.
DBMS_ALERT.SIGNAL(v_AlertName, 'Alert! Alert! Alert!');
-- It is not actually sent until we commit.
COMMIT;
END;
/
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -