Drop the index and recreate it

alter table you-table drop index your-index;

alter table you-table create index your-index(fieldlist);

- Carsten

----- Original Message -----
From: "Rory O'Connor" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, July 18, 2001 7:55 AM
Subject: re-indexing records


> I'm a bit of a mysql newbie...excuse if this is rudimentary.
>
> I imported about 5000 records and realized that the index is a bit scewy
> since i deleted alot of records while it was in access.  rather than fix
> it in access and re-import it, is there an easy way to re-index the
> records in mysql?
>
> thanks!
>
> providing the finest in midget technology
>
> ---------------------------------------------------------------------
> Before posting, please check:
>    http://www.mysql.com/manual.php   (the manual)
>    http://lists.mysql.com/           (the list archive)
>
> To request this thread, e-mail <[EMAIL PROTECTED]>
> To unsubscribe, e-mail
<[EMAIL PROTECTED]>
> Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php
>
>



---------------------------------------------------------------------
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/           (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

Reply via email to