|
|
|
Re: How to use dll commands using database triggers [message #306706 is a reply to message #306687] |
Sun, 16 March 2008 01:41  |
 |
Littlefoot
Messages: 21825 Registered: June 2005 Location: Croatia, Europe
|
Senior Member Account Moderator |
|
|
Could you, sunny_ocp, explain why do you think you need to use DDL in a trigger? What improvement would it make? Why do you think it is a good idea? Because, in vast majority of cases, you do NOT want to use DDL in triggers.
Obviously - it can be done. Research use of EXECUTE IMMEDIATE and AUTONOMOUS TRANSACTION pragma if your case is one of these that can not be solved otherwise than by using DDL (however, I doubt that this is your case).
|
|
|