What is InnoDB?
lnnoDB is a transaction safe storage engine developed by Innobase Oy which is a Oracle Corporation now.
lnnoDB is a transaction safe storage engine developed by Innobase Oy which is a Oracle Corporation now.
ISAM is abbreviated as Indexed Sequential Access Method.It was developed by IBM to store and retrieve data on secondary storage systems like tapes.
Total 5 types of tables are present: MyISAM Heap Merge INNO DB ISAM MyISAM is the default storage engine as of MySQL.
Each MyISAM table is stored on disk in three formats: The ‘.frm’ file stores the table definition The data file has a ‘.MYD’ (MYData) extension The index file has a…
Following commands are used to run in batch mode: mysql ; mysql mysql.out
Following are the differences between mysql_fetch_array and mysql_fetch_object: mysql_fetch_array() -Returns a result row as an associated array or a regular array from database. mysql_fetch_object – Returns a result row as object from database.
A BLOB is a binary large object that can hold a variable amount of data. There are four types of BLOB – TINYBLOB BLOB MEDIUMBLOB and LONGBLOB They all differ…
LIKE and REGEXP operators are used to express with ^ and %. SELECT * FROM employee WHERE emp_name REGEXP "^b"; SELECT * FROM employee WHERE emp_name LIKE "%b";
No. SELECT VERSION(), CURRENT_DATE; SeLect version(), current_date; seleCt vErSiOn(), current_DATE; All these examples are same. It is not case sensitive.
Number of rows can be obtained by SELECT COUNT (user_id) FROM users;