Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

enable/disable all triggers per table or per database [CORE2156] #2587

Open
firebird-automations opened this issue Oct 28, 2008 · 0 comments

Comments

@firebird-automations
Copy link
Collaborator

Submitted by: lacak (lacak)

Votes: 1

extend DDL SQL to add possibilty enable/disable all triggers per table or per database

Possible solutions /discused in fb-devel/ :

1.) ALTER TRIGGER ANY [ON <table name>] {ACTIVE | INACTIVE}
-- combines functionality 2 and 3 with syntax compatible with
existing Firebird ALTER TRIGGER statement

2.) ALTER TABLE table_name [ENABLE|DISABLE] TRIGGER [trigger_name|ALL]
-- syntax compatible with PostgreSQL and Oracle, but only for one table

3.) ALTER DATABASE [ENABLE|DISABLE] TRIGGER [trigger_name|ALL]
-- One DDL can enable/disable all triggers on all tables

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant