I have a table with say 3 columns. There\'s no primary key so there can be duplicate rows. I need to just keep one and delete the others. Any idea how to do this is Sql Serv
How about:
select distinct * into #t from duplicates_tbl truncate duplicates_tbl insert duplicates_tbl select * from #t drop table #t