Find jobs | Jobseekers
Employer login
About us Sitemap of www.CareerRide.com Sitemap FAQ related with www.CareerRide.com FAQ Click here to Contact us Contact
       
Submit Resume Free ! | Access Resume Free !
Home Career Services Resume Services Interview questions Articles Books
Content
MySQL interview
MySQL defined
MySQL SELECT Statement
MySQL sorting data
MySQL filtering
MySQL operator
MySQL searching
MySQL concatenating fields
MySQL text manipulation
MySQL date time manipulation
MySQL numeric manipulation
MySQL Group by
MySQL subquery
MySQL joins
MySQL union
MySQL full text searching
MySQL insert statement
MySQL updating & deleting data
MySQL views
MySQL stored procedures
MySQL cursors
MySQL triggers
MySQL transactions
MySQL optimizing performance
MySQL security management
MySQL globalization & localization
MySQL database maintenance
 
ASP.NET | ADO.NET | AJAX
C#.NET | VB.NET | PHP
NET Remoting | NET Interview
  
C | C++ | Java | Oops
Data Structure | OS
   
Database concepts | Oracle
SQL Server | Biztalk | Sharepoint
Notification services
Reporting Services
Service-oriented architecture
Data warehousing | MySQL
  
Project Management 
Linux | Testing | Networking
Software engineering 
  
UML | XML | HTML | SOAP 
CSS | VBScript  | Web Services
   
CV Cover letter | Interview 
HR | Soft skills | GD 
Working from Home 
Tutorial
ASP.NET | VB.NET | C#.NET     
Remoting.NET | Web service
Remoting overview | ADO.NET
UML | Sql server 

MySQL Trigger

NEXT>>

What is a Trigger in MySQL? Define different types of Trigger?

Answer
A trigger is a set of code which is executed in response to some event.

E.g Update employee_perfomance table when a new task is inserted in task table. Here, the trigger is “update” and the event is “inserting a new row”.

A trigger in MySQL is created using CREATE TRIGGER trigger_name. we need to specify the trigger type.  

  • When do you want the trigger to execute? This can be either BEFORE or AFTER
  • What do you expect the trigger to do? This can be INSERT UPDATE DELETE
  • On which table you want the trigger to run? (using ON table_name)
  • Lastly, though not mandatory, is FOR EACH ROW if it is used then the trigger will fire once for all records of the table. If it is not specified the trigger will fire once only regardless of the number of records being updated
NEXT>>


More MySQL Links

Describe Transaction-Safe Table Types in MySQL

Answer - While using transactions in MySQL a transaction –safe table type must.......

Describe MySQL Connection using mysql binary.

Answer - Establishing connection to MySQL database using Mysql binary........

Describe MySQL Connection using PHP Script.

Answer - Establishing connection to MySQL database using PHP can be done...........

 
Today's Hot Jobs
C++  SQL Server
.NET  Java  Oracle
Finance  Marketing
Seekers  Employers
Copyright © 2008 CareerRide.com. All rights reserved.