PDF (A4) - 35.2Mb
Man Pages (TGZ) - 256.4Kb
Man Pages (Zip) - 361.2Kb
Info (Gzip) - 3.4Mb
Info (Zip) - 3.4Mb
MySQL Globalization
MySQL Information Schema
MySQL Installation Guide
MySQL and Linux/Unix
MySQL and macOS
MySQL Partitioning
MySQL Performance Schema
MySQL Replication
Using the MySQL Yum Repository
MySQL Restrictions and Limitations
Security in MySQL
MySQL and Solaris
Building MySQL from Source
Starting and Stopping MySQL
MySQL Tutorial
MySQL and Windows
MySQL NDB Cluster 7.5
Temporary tables created withCREATE TEMPORARY TABLE have the following limitations:
TEMPORARYtables are supported only by theInnoDB,MEMORY,MyISAM, andMERGEstorage engines.Temporary tables are not supported for NDB Cluster.
The
SHOW TABLESstatement does not listTEMPORARYtables.To rename
TEMPORARYtables,RENAME TABLEdoes not work. UseALTER TABLEinstead:ALTER TABLE old_name RENAME new_name;You cannot refer to a
TEMPORARYtable more than once in the same query. For example, the following does not work:SELECT * FROM temp_table JOIN temp_table AS t2;The statement produces this error:
ERROR 1137: Can't reopen table: 'temp_table'TheCan't reopen table error also occurs if you refer to a temporary table multiple times in a stored function under different aliases, even if the references occur in different statements within the function. It may occur for temporary tables created outside stored functions and referred to across multiple calling and callee functions.
If a
TEMPORARYis created with the same name as an existing non-TEMPORARYtable, the non-TEMPORARYtable is hidden until theTEMPORARYtable is dropped, even if the tables use different storage engines.There are known issues in using temporary tables with replication. SeeSection 16.4.1.29, “Replication and Temporary Tables”, for more information.
PDF (A4) - 35.2Mb
Man Pages (TGZ) - 256.4Kb
Man Pages (Zip) - 361.2Kb
Info (Gzip) - 3.4Mb
Info (Zip) - 3.4Mb
MySQL Globalization
MySQL Information Schema
MySQL Installation Guide
MySQL and Linux/Unix
MySQL and macOS
MySQL Partitioning
MySQL Performance Schema
MySQL Replication
Using the MySQL Yum Repository
MySQL Restrictions and Limitations
Security in MySQL
MySQL and Solaris
Building MySQL from Source
Starting and Stopping MySQL
MySQL Tutorial
MySQL and Windows
MySQL NDB Cluster 7.5