Database trigger details bitsCN. com1 introduction
Like the stored procedure, Mysql triggers are embedded into a mysql program. The trigger is a new function of mysql5. Currently, the online Fengchao system, Beidou system, and Columbus system use
1 Introduction Like the stored procedure, Mysql triggers are embedded into a mysql program. The trigger is a new function of mysql5. Currently, the online fengchao system, Beidou system, and Columbus system use the database of mysql5.0.45. Many
ConventionsandStyles convention and programming style every time I want to demonstrate the actual code, I will adjust the code displayed on the screen of the mysql client and change the font to Courier, make them look different from common text (let
MySQL trigger and mysql trigger
MySQL from 5.0.2 version to support the function of the trigger, this blog to introduce the trigger, mysql version: mysql-5.7.19.
What is a trigger?
A trigger is a database object related to tables. It is triggered
Why use a trigger? Advantages of triggers 1. Trigger's "automatic"For programmers, the trigger is invisible, but he does. If no trigger is needed, when you update the name field of the user table, you need to write code to update redundant fields in
A trigger is a special kind of stored procedure that triggers execution when inserting, deleting, or modifying data in a particular table, which has finer and more complex data control than the standard functionality of the database itself.Database
MySQL triggers are an important part of the MySQL database. The following describes how to create and delete MySQL triggers in detail.
MySQL triggers are an important part of the MySQL database. The following describes how to create and delete MySQL
MySQL triggers use the create trigger statement. The following describes the statement syntax for creating a MySQL TRIGGER in detail. It is helpful for you to learn about MySQL triggers.
Create trigger create MySQL TRIGGER) syntaxCreate trigger
MySQL seems to be starting from 5.0.2 version to support the function of the trigger, this blog to introduce the trigger, first of all, or talk about the concept of something:What is a triggerA trigger is a database object that is related to a table,
One, what triggers1, personal understandingThe function of the trigger is to achieve synchronization between the two libraries, that is, the operation of library A and so on in the operation of library B, you can create a change on the table a
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.