How to delete the duplicate records in a table using sql
server
Answers were Sorted based on User's Feedback
Answer / mohamed idhris
SET ROWCOUNT 1
DELETE FROM tbl_name WHERE field_name= 'field_value'
SET ROWCOUNT 0
the above query will delete the duplicate row
| Is This Answer Correct ? | 4 Yes | 2 No |
Answer / rakesh pattajoshi
delete from tbl where id not in(select max(id) from tbl group by name)
| Is This Answer Correct ? | 0 Yes | 0 No |
Explain .net mobile events? : Microsoft dot net mobile
Explain pipelining? : Dot net architecture
12. Types of polymorphisem[Run and Design Exp.]
what is meant by language interoperability and language integration?
Explain the process of gc?
Explain the difference between l1 and l2 cache? : .NET Architecture
any one can explain about projectarchitecture and project approach briefly
what is an assembly ?
How does .net remoting work?
Explain cache memory? : .NET Architecture
which control is used to compare two controls?
So what exactly is the configuration file for then?