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 the five stages in a dlx pipeline? : Dot net architecture
Navigation controls in ASP.net,explain each control in brief?
What is .net mobile forms? : Microsoft dot net mobile
which would be the best to use inproc,outproc or sql server
There are so many languages are already existing for developing application.Then what is the need of .net.
does .NET support multiple inheritance ?
difference between Response.write,server.transfer and also which one is used when ?
what is meant by language interoperability and language integration?
Are there any third party logging components available?
What should one do to make class serializable?
What is static Constructor?
How cache is used? : Dot net architecture