DDL operations are very cautious when running a system online. To prevent unnecessary misoperation, you can use DDL triggers to disable DDL operations on some tables. You can
DDL operations are very cautious when running a system online. To prevent unnecessary misoperation, you can use DDL triggers to disable DDL operations on some tables. You can
DDL operations are very cautious when running a system online. To prevent unnecessary misoperation, you can use DDL triggers to disable DDL operations on some tables. You can use the raise_application_error function to disable the operation on the operation type to be disabled. For example:
Create or replace trigger DDL_FB before ALTER OR DROP OR RENAME
On schema
BEGIN
Raise_application_error (-20030, 'this system is running and cannot perform DDL maintenance on the table ');
End;
For users who have set such triggers, if you need to modify the table structure, you must first turn off the trigger.