Command(s) completed successfully. John Doe eats worms.
on database
on all server
create trigger TestTrigger on database for create_function, alter_function, create_procedure, alter_procedure, create_view, alter_view as begin print 'Command(s) completed successfully. John Doe eats worms.' end
CREATE TRIGGER safety ON DATABASE FOR DROP_TABLE, ALTER_TABLE AS PRINT 'You must disable Trigger "safety" to drop or alter tables!' ROLLBACK;
ScrewTurn Wiki version 3.0.1.400. Some of the icons created by FamFamFam. Except where noted, all contents Copyright © 1999-2024, Patrick Jasinski.