Article Categories
- All Categories
-
Data Structure
-
Networking
-
RDBMS
-
Operating System
-
Java
-
MS Excel
-
iOS
-
HTML
-
CSS
-
Android
-
Python
-
C Programming
-
C++
-
C#
-
MongoDB
-
MySQL
-
Javascript
-
PHP
-
Economics & Finance
Selected Reading
What are the privileges required to use triggers?
We must have SUPER privileges to create or destroy triggers with the help of a CREATE or DROP statement. Other than that if the triggered statements use OLD or NEW then there are some additional privileges as follows which we require −
- To assign the value of a column with SET NEW.column_name = value then we must have the UPDATE privilege for the column.
- To use NEW.column_name in an expression to refer to the new value of a column, we must have the SELECT privilege for the column.
Advertisements
