SQL adaptation guide For Oracle MySQL 5.x / Data manipulation |
Informix® temporary tables are created through the CREATE TEMP TABLE DDL instruction or through a SELECT ... INTO TEMP statement. Temporary tables are automatically dropped when the SQL session ends, but they can be dropped with the DROP TABLE command. There is no name conflict when several users create temporary tables with the same name.
Informix allows you to create indexes on temporary tables. No name conflict occurs when several users create an index on a temporary table by using the same index identifier.
MySQL support temporary tables with the following syntax:
CREATE TEMPORARY TABLE tablename ( coldef [,...] )
and:
CREATE TEMPORARY TABLE tablename LIKE other-table
In BDL, Informix temporary tables instructions are converted to generate native SQL Server temporary tables.