MYISAM engine : MyISAM « Engine « SQL / MySQL

Home
SQL / MySQL
1.Aggregate Functions
2.Backup Load
3.Command MySQL
4.Cursor
5.Data Type
6.Database
7.Date Time
8.Engine
9.Event
10.Flow Control
11.FullText Search
12.Function
13.Geometric
14.I18N
15.Insert Delete Update
16.Join
17.Key
18.Math
19.Procedure Function
20.Regular Expression
21.Select Clause
22.String
23.Table Index
24.Transaction
25.Trigger
26.User Permission
27.View
28.Where Clause
29.XML
SQL / MySQL » Engine » MyISAM 
MYISAM engine
     
mysql>
mysql> CREATE TABLE SEXES
    ->    (SEX CHAR(1NOT NULL PRIMARY KEY)
    ->    ENGINE = MYISAM;
Query OK, rows affected (0.00 sec)

mysql>
mysql>
mysql> SELECT   TABLE_NAME, ENGINE
    -> FROM     INFORMATION_SCHEMA.TABLES
    -> WHERE    TABLE_NAME IN ('EmployeeS', 'PENALTIES', 'SEXES');
+------------+--------+
| TABLE_NAME | ENGINE |
+------------+--------+
| sexes      | MyISAM |
+------------+--------+
row in set (0.00 sec)

mysql>
mysql> drop table sexes;
Query OK, rows affected (0.00 sec)

mysql>

   
    
    
    
    
  
Related examples in the same category
1.MyISAM storage engine supports composite indexes that include an AUTO_INCREMENT column.
2.Change the Type of the Table (MyISAM, InnoDB)
3.Secure backup of a MyISAM database: --lock-all-tables:
4.Change it to the more efficient MyISAM type.
5.ENGINE = {BDB | MEMORY | ISAM | INNODB | MERGE | MYISAM}
java2s.com  | Contact Us | Privacy Policy
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.