Reputation: 387
After invoking this line of code:
EXECUTE IMMEDIATE 'ALTER TABLE user.table DISABLE CONSTRAINT user.trigger;';
I receive an error:
ORA-00933 SQL Command not properly Ended
Upvotes: 0
Views: 2472
Reputation: 10239
Try dropping the semicolon in statement to be executed:
EXECUTE IMMEDIATE 'ALTER TABLE user.table DISABLE CONSTRAINT user.trigger';
Upvotes: 1