REGEXP is a pattern match using regular expression. Regular expression is a powerful way of specifying a pattern for a complex search.
You can create maximum of 16 indexed columns for a standard table.
NOW() command is used to show current year, month, date with hours, minutes and seconds while CURRENT_DATE() shows the current year with month and date only.
If you want to display current date and time, use -
SELECT NOW(); If you want to display current date only, use - SELECT CURRENT_DATE();
A defined point in any transaction is known as savepoint.
SAVEPOINT is a statement in MySQL which is used to set a named transaction save point with a name of identifier.
SQLyog program is the most popular GUI tool for admin. It is the most popular MySQL manager and admin tool. It combines the features of MySQL administrator, phpMyadmin and others MySQL front ends and MySQL GUI tools.
It is easy to backing up data with phpMyAdmin. Select the database you want to backup by clicking the database name in the left hand navigation bar. Then click the export button and make sure that all tables are highlighted that you want to backup. Then specify the option you want under export and save the output.
MySQL database software is a client or server system which includes
MySQL database server is reliable, fast and very easy to use. This software can be downloaded as freeware and can be downloaded from the internet.
HEAP tables are present in memory and they are used for high speed storage on temporary basis
Storage engines are called table types and data is stored in files using various techniques.
TIMESTAMP column is updated with Zero when the table is created. UPDATE CURRENT_TIMESTAMP modifier updates the timestamp field to current time whenever there is a change in other fields of the table.
Every row of a table is identified uniquely by primary key. There is only one primary key for a table.
Primary Key is also a candidate key. By common convention, candidate key can be designated as primary and which can be used for any foreign key references.
We can login through this command:
# [mysql dir]/bin/mysql -h hostname -u
In MyISAM static all the fields will have fixed width. The Dynamic MyISAM table will have fields like TEXT, BLOB, etc. to accommodate the data types with various lengths.
MyISAM Static would be easier to restore in case of corruption.
Federated tables which allow access to the tables located on other databases on other servers.
Timestamp field gets the current timestamp whenever the row gets altered.
It stops incrementing. Any further inserts are going to produce an error, since the key has been used already.
LAST_INSERT_ID will return the last value assigned by Auto_increment and it is not required to specify the table name.