Select Distinct * INTO #temp >From mytable truncate TABLE my table
Insert into myTable Select * >From #temp or thats the psuedo code for it...not sure the exact syntax is right.... Adam H On Fri, 28 Jan 2005 08:14:14 -0800 (PST), Discover Antartica <[EMAIL PROTECTED]> wrote: > Does anyone know how to delete duplicate records from a table and leave only > one record in the table using <CFQUERY>. > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Find out how CFTicket can increase your company's customer support efficiency by 100% http://www.houseoffusion.com/banners/view.cfm?bannerid=49 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:192101 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

