You will need to know the name of the column(s) you will be indexing in
order to do this.
create temporary table some_table (index idx_name(col1)
SELECT  * from source_table

-----Original Message-----
From: David Perron
To: [EMAIL PROTECTED]
Sent: 8/11/04 11:36 AM
Subject: Indicating an INDEX during TEMPORARY table creation


When executing:

CREATE TEMPORARY TABLE temp_1 AS 
SELECT * FROM table_name

Is it possible to indicate an index within the syntax of this statement
- as
opposed to issuing an ALTER TABLE command after the table is created?

Thanks in advance for any help.






-- 
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:
http://lists.mysql.com/[EMAIL PROTECTED]

-- 
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:    http://lists.mysql.com/[EMAIL PROTECTED]

Reply via email to