In this lesson, we will introduce you to MySQL triggers. By definition, a MySQL trigger is a type of stored program, associated with a table, that will be activated automatically once a specific event related to the table of association occurs. This...
Read MoreMonday, 27 January 2020
Saturday, 25 January 2020
Tuesday, 21 January 2020
Stored Routines
Routine in a context other than a computer, a usual, fixed action, or series of actions, repeated periodically. Stored routine An SQL statement, or a set of SQL statements, that can be stored on the database server Whenever a user needs to...
Read MoreMySQL Index
The index of table functions as the index of a book Data is taken from a column of the table and is stored in a certain order in a distinct place called an index. Your datasets will typically contain 100,000+ or even...
Read MoreMonday, 6 January 2020
SQL Data Type
String Data Type String Data Type Storage/ MAX_SIZE(Byte) Example Remark Character CHAR Fixed/255 CHAR(5) 50% faster Variable character VARCHAR Variable/65,535 VARCHAR(5) a lot more responsive to the data value inserted ENUM (enumeration) ENUM ENUM(‘M’,’F’) MySQL will show an error if you attempt...
Read More