|
Thanks Paul...that's what ended up working for me. - Michael > -------- Original Message -------- > Subject: Re: Delete Duplicate Rows > From: "Paul Morgan" <pmorgan@xxxxxxxxxxxxxx> > Date: Wed, September 14, 2005 12:31 pm > To: midrange-l@xxxxxxxxxxxx > > Michael, > > You could user INSERT with SELECT DISTINCT to copy out one of the duplicate > records into a temporary file, DELETE all the duplicate records, then INSERT > back in the one duplicate record. > > If you're lucky there is something on each record that does make them unique > in the file (like a date/time stamp) then you could just DELETE the > duplicates by selecting on those values. > > Paul > > -- > Paul Morgan > Senior Programmer Analyst - Retail > J. Jill Group > 100 Birch Pond Drive, PO Box 2009 > Tilton, NH 03276-2009 > Phone: (603) 266-2117 > Fax: (603) 266-2333 > > Michael wrote > > > How can I delete duplicate rows in Interactive SQL? I know how to find > > them...I don't know how to delete all the dups and just leave one row > > in a group. > > > > -- > This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list > To post a message email: MIDRANGE-L@xxxxxxxxxxxx > To subscribe, unsubscribe, or change list options, > visit: http://lists.midrange.com/mailman/listinfo/midrange-l > or email: MIDRANGE-L-request@xxxxxxxxxxxx > Before posting, please take a moment to review the archives > at http://archive.midrange.com/midrange-l.
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.