Wisecrack Web Design Development Blog
Friday, June 10, 2011
Remove duplicate entries / rows a mySQL database table
ALTER IGNORE TABLE yourtablewithdups ADD UNIQUE INDEX dupidx (field_1 [, field_2x]);
ALTER TABLE yourtablewithdups DROP INDEX dupidx
Newer Posts
Older Posts
Home
Subscribe to:
Posts (Atom)