Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


How to create triggers in MySQL?



How to create triggers in MySQL?..

Answer / hrindows@gmail.com

We can use the CREATE TRIGGER statement for creating a new trigger in MySQL.

SYNTAX:
CREATE TRIGGER trigger_name
(AFTER | BEFORE) (INSERT | UPDATE | DELETE)
ON table_name FOR EACH ROW
BEGIN
--variable declarations
--trigger code
END;

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More MySQL Interview Questions

What is the difference between mysql_fetch_array() and ysql_fetch_object() ?

0 Answers  


What is mvcc in mysql?

0 Answers  


How can you add and remove any column of a table?

0 Answers  


what is database white box testing? : Mysql dba

0 Answers  


How to convert numeric values to character strings?

0 Answers  


What are the objects can be created using CREATE statement?

0 Answers  


What is save point in mysql?

0 Answers  


What is the data type for image?

0 Answers  


How to use like conditions?

0 Answers  


Explain TIMESTAMP DEFAULT ?2006:09:02 17:38:44&#8242; ON UPDATE CURRENT_TIMESTAMP.

1 Answers  


In the below example, how many String Objects are created? String s1="I am Java Expert"; String s2="I am C Expert"; String s3="I am Java Expert";

1 Answers  


What are the differences between a primary key and foreign key?

0 Answers  


Categories