Hello everyone,

I have a MySQL (4.1) table that has about 48000 entries. Something has
happened and I have about 20000 duplicates of a single field within the
database (I forgot to set that field to unique).

This is a table for storing pictures. It has its own separate id field
(the primary key), as well as the picture name field (and a couple other
fields). There are about 20000 duplicate entries in the name field
(these should be unique).

I would like to be able to clean out the duplicate entries of that
field, but I am not sure of the best way to do this. Any advice would be
appreciated.
--
Doug

Registered Linux User #285548 (http://counter.li.org)
----------------------------------------
Random Thought:
Is a person who blows up banks an econoclast?



The php_mysql group is dedicated to learn more about the PHP/MySQL web database 
possibilities through group learning.  
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/php_mysql/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/php_mysql/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:[EMAIL PROTECTED] 
    mailto:[EMAIL PROTECTED]

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 

Reply via email to