Find duplex entry in SQL database

| | Comments (0)

SELECT field_name,COUNT(*) FROM table_name GROUP BY field_name HAVING COUNT(*) > 1
ref. 找出資料表中重複的資料
本來也跟這篇文章的作者一樣, 是寫個小程式去檢查, 原來只要一行就可以解決了.

Leave a comment

March 2009

Sun Mon Tue Wed Thu Fri Sat
1 2 3 4 5 6 7
8 9 10 11 12 13 14
15 16 17 18 19 20 21
22 23 24 25 26 27 28
29 30 31        

About this Entry

This page contains a single entry by Pank published on October 18, 2007 11:42 AM.

portmap rename to rpcbind in Fedora 7 was the previous entry in this blog.

Windows Live Messenger 8.5 Final is the next entry in this blog.

Find recent content on the main index or look in the archives to find all content.