Code Snippet |
CREATE TRIGGER DDLTriggertoSaveTable ON DATABASE FOR DROP_TABLE |
AS PRINT 'M No way to delete the tables in the Database?' |
Now, execute the below statement,
Code Snippet |
Drop Table VenkatTestDLLTriggers |
You will get a message indicating "Cannot drop the tables in the database.
Happy Learning!!!
Regards,
Venkatesan Prabu .J
No comments:
Post a Comment