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
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment