MySQL SQL Delete Notes

    Date: 11/27/07 (Java Web)    Keywords: mysql, database, sql

    To delete duplicates from a MySQL database table I normally copy the duplicate data first to a temporary table and then use the copied id’s to delete from the original table. Delete using the temporary can take two forms. First is the slow way: delete from target where id in (select id from temp); This can be [...]

    Source: http://blog.taragana.com/index.php/archive/mysql-sql-delete-notes/

« MySQL: Creating Users... || Beware GMail Goofs Up On... »


antivirus | apache | asp | blogging | browser | bugtracking | cms | crm | css | database | ebay | ecommerce | google | hosting | html | java | jsp | linux | microsoft | mysql | offshore | offshoring | oscommerce | php | postgresql | programming | rss | security | seo | shopping | software | spam | spyware | sql | technology | templates | tracker | virus | web | xml | yahoo | home