Subject | Adding trigger dynamically |
---|---|
Author | Harriv |
Post date | 2008-11-16T18:38:23Z |
Hi,
Is it possible to check if table has trigger defined and if trigger
is missing add it? I'd like to my program to add it's own trigger when
started if it doesn't exist.
Also, are there any pitfalls when doing this kind of operation? I'm
only used to modify database structure manually..
I'm using Python and kinterbasdb if it matters.
Is it possible to check if table has trigger defined and if trigger
is missing add it? I'd like to my program to add it's own trigger when
started if it doesn't exist.
Also, are there any pitfalls when doing this kind of operation? I'm
only used to modify database structure manually..
I'm using Python and kinterbasdb if it matters.