📅  最后修改于: 2022-03-11 15:05:00.732000             🧑  作者: Mango
SELECT DBMS_METADATA.get_ddl('TRIGGER', TRIGGER_NAME, OWNER)
FROM ALL_TRIGGERS -- or DBA_TRIGGERS, USER_TRIGGERS
WHERE OWNER = 'swhema_name'
AND TRIGGER_NAME = 'trigger_name';