原来这一招这么好用: ALTER IGNORE TABLE dupTest ADD UNIQUE INDEX(a,b); from:http://free.netartmedia.net/Databases/Databases8.html 2008-10-01