Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Create Temporary Table from Partitioned Table

Status
Not open for further replies.

UltraSmooth

Programmer
Oct 28, 2002
97
CA
Is there any way of creating a temporary table from a partitioned table? I do not require the partitions for the temporary table, just the table structure. Mysql gives me the error "Cannot create temporary table with partitions" using the command

CREATE TEMPORARY TABLE tmp_tbl LIKE tblname;

(Actually that command executes fine but any subsequent commands on the temporary table gives the error message)

Any ideas?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top