Answers for "DDL trigger for dropping and altering a table"

SQL
0

DDL trigger for dropping and altering a table

CREATE TRIGGER safety   
ON DATABASE   
FOR DROP_TABLE, ALTER_TABLE   
AS   
   PRINT 'You must disable Trigger "safety" to drop or alter tables!'   
   ROLLBACK;
Posted by: Guest on September-12-2021

Code answers related to "SQL"

Browse Popular Code Answers by Language