les08 use triggers whylearnit





Using Triggers












function MM_findObj(n, d) { //v4.0
var p,i,x; if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i


previous|next







While working with a database application, you may want to add programmatic
functionality that executes when specific operations occur in the database.
For example, there may be typical scenarios such as the following:

Example 1: You may want to insert data into a table.
You find that the new data is inconsistent with the existing data in
the table. You may want the system to raise an error that will cause the
transaction to be rolled back.


Example 2: You may want the system to record information
such as the timing and the details of the user modifying data in a table.

Triggers help the user deal with these and other complex situations. A trigger is a PL/SQL block or a PL/SQL procedure
associated with a table, view, schema, or database. Triggers are used to
ensure data integrity by checking on data in a consistent fashion. A trigger
executes implicitly whenever a particular event takes place.

You can use triggers for:



Wyszukiwarka

Podobne podstrony:
les08 man triggers tellme
les08 audit trigger1 tellme
les08 cre triggers tellme
les08 audit trigger2 showme
les08 proc cre whylearnit
les08 pack whylearnit
les08 plsql whylearnit
les08 except whylearnit
readme and terms of use 3d cad models
grades of timber and their use
package use
25678696 Magical Use of Voice Phil Hine
package use
Use somebody
William Varner The Christian Use Of Jewish Numerology
SOAPBinding Use

więcej podobnych podstron