View Single Post

   
  #1 (permalink)  
Old 03-01-2008, 02:43 PM
Michael Evanchik
 
Posts: n/a
Default fastest way to deduplicate a list

Im trying to dedupe a table with only one field on it. The table has
40 million records in it. What is the fastest way?

1) create a table with a unque constraint on it insert into that
table?

2) create a table without a unique constraint on it and use insert
into table select distinct un from table2?

3) another way?

Michael

Reply With Quote