Re: mysql question
| From: | Daniel Kullik | Date: | Mon, 16 Jul 2007 09:07:11 +0000 |
| Subject: | Re: mysql question | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-258897@lists.php.net to get a copy of this message | ||
Man-wai Chang wrote:
> I tried to post to mysql.general, but the message never appeared. So I
> am trying my luck here.
>
> How could I build an index for a table created using the "CREATE
> TEMPORARY TABLE ... SELECT ... FROM ..." syntax, using an account
> without the privilege to use ALTER TABLE?
>
See the docs.
CREATE INDEX syntax:
http://dev.mysql.com/doc/refman/5.0/en/create-index.html
About privileges:
http://dev.mysql.com/doc/refman/5.0/en/grant.html
You didn't send much info along, so I assume you're using some version
of MySQL 5.0.
HTH