Advanced SQL Lec2
Advanced SQL Lec2
Triggers
FUNCTIONS
• Functions and procedures allow “business logic”
to be stored in the database and executed from SQL
statements.
1. IN parameter:
• This parameter is the default parameter and it
is same as a constant.
• Initialization is must to parameter and value
of this parameter is unchanged through out
the execution of the program .
i.e.,it remains the same.
PROCEDURES
2.OUT parameter:
Parts of a trigger:
1.Trigger event
2.Trigger type
3.Trigger restriction
TRIGGERS
1.Trigger event:
3.Trigger restriction:
ramesh.chejarla@gmail.com 9959597459