1.What are Heap tables?HEAP tables are present in memory and they are used for high speed storage on temporary basis. 2.Check Important Points about Heap Tables?
3.What are the advantages of MySQL over Oracle?
4.Difference between FLOAT and DOUBLE?
5.What is the usage of ENUMs in MySQL?ENUM is a string object used to specify set of predefined values. When we add/update record(s), Enum field will save only single value from predefined values. 6.What is REGEXP in MySQL?It is regular expression is a used for complex search using pattern. 7.Question: What are the drivers in MySQL?
8.What is the difference between primary key and candidate key?Primary Key: 9.What does myisamchk do?Myisamchk compress the MyISAM tables, which reduces the disk or memory usage. 10. What is the difference between MyISAM Static and MyISAM Dynamic?MyISAM static will have fixed width for all the fields. Also Its easier to restore in case of corruption. 11.What are Federated tables?A Federated Table is a table which points to a table in an other MySQL database instance (Might be on same OR Different server). 12. What is timestamp meaning in MySQL?timestamp is datatype in MySQL. If we create a filed with timestamp datatype, it will auto-update with current date/time when record is added/updated. 13.What happens when auto_increment on integer column reaches the max_value in databases?It stops incrementing anf through following error. 14.How can you list all indexes in a table?SHOW INDEX FROM user; 15.What is ISAM?ISAM stands for Indexed Sequential Access Method, a method for indexing data for fast retrieval. 16.What is the different between NOW() and CURRENT_DATE()?NOW () is used to show current year,month,date, hours,minutes and seconds. 17.How many triggers are allowed in MySQL table?Following are the triggers which are allowed in MySQL table.
18.What is Query to delete a Index?ALTER TABLE table_name DROP INDEX index_name. 19.How to update auto increment value to 1000?ALTER TABLE tbl_name AUTO_INCREMENT = 1000; 20.What is command to check table is exist?CHECK TABLE table_name; |