SQL T-SQL FAQ: วิธีการ remove row ที่ซ้ำกันออกจาก table ใน SQL Server

คำตอบ SQL T-SQL FAQ: วิธีการ remove row ที่ซ้ำกันออกจาก table ใน SQL Server

ตอบทั้งหมด

  • 13 มีนาคม 2555 10:05
    ผู้ดูแล
     
     คำตอบ


    เราควรหลีกเลี่ยงไม่ให้เกิด Row ที่ซ้ำกันใน relational database เนื่องจากจะทำให้ entity ไม่  integrity

    How to remove duplicate rows from a table in SQL Server


    http://support.microsoft.com/kb/139444



    Supa Sethasiripong [MSFT]
    MSDN Community Support | Feedback to us
    Get or Request Code Sample from Microsoft
    Please remember to mark the replies as answers if they help and unmark them if they provide no help.

    • ทำเครื่องหมายเป็นคำตอบโดย supa_sModerator 14 มีนาคม 2555 5:24
    •