db.books.50_triggers_D.sql Maven / Gradle / Ivy
The newest version!
-- Triggers
-- PostgreSQL syntax
CREATE FUNCTION trg_authors() RETURNS trigger AS $trg_authors$
BEGIN
RAISE NOTICE 'LOGGED FROM TRIGGER';
RETURN NEW;
END;
$trg_authors$ LANGUAGE plpgsql
@
CREATE TRIGGER TRG_Authors BEFORE INSERT OR DELETE ON Authors
FOR EACH ROW EXECUTE PROCEDURE trg_authors();
@
© 2015 - 2025 Weber Informatics LLC | Privacy Policy