About Trigger [message #213746] |
Fri, 12 January 2007 03:04 |
romi
Messages: 67 Registered: October 2006
|
Member |
|
|
Hello All,
I want to know uses of trigger.Why we use trigger,plz explain me with a example.
I have knowledge that we can do all thing in GUI which we do by trigger, than why we use trigger?
If anyone knows then plz explain me with example.It's very-2 important for me.
Thanks
|
|
|
|
|
Re: About Trigger [message #213771 is a reply to message #213769] |
Fri, 12 January 2007 04:31 |
romi
Messages: 67 Registered: October 2006
|
Member |
|
|
Thanks littlefoot,
If we can do all thing by GUI,Then what is the use of trigger.Why we use trigger in PL-SQL.Plzzzzzzzzzzzzzzz explain me?
Thanks
|
|
|
|
|
Re: About Trigger [message #213783 is a reply to message #213782] |
Fri, 12 January 2007 05:06 |
JRowbottom
Messages: 5933 Registered: June 2006 Location: Sunny North Yorkshire, ho...
|
Senior Member |
|
|
We will almost certainly be able to answer your question when we understand what you mean by:Quote: | I have knowledge that we can do all thing in GUI which we do by trigger, than why we use trigger?
|
In general, a database trigger (which @tahpush has already pointed you to a good explanation of) is used to automatically perform actions on data when it is modified.
|
|
|
|
|
|
Re: About Trigger [message #213810 is a reply to message #213793] |
Fri, 12 January 2007 06:57 |
JRowbottom
Messages: 5933 Registered: June 2006 Location: Sunny North Yorkshire, ho...
|
Senior Member |
|
|
Or how would you use a GUI to ensure that no matter what tool the user used, their changes to a table would be logged?
|
|
|