How to delete the duplicate records in a table using sql
server
Answer Posted / 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 |
Post New Answer View All Answers
Can I create my own permission set?
What is .net mobile input validation. : Microsoft dot net mobile
how to make and display a form without title bar?
What other than biginteger has been introduced in system.numerics namespace?
What is biginteger and when would you use that?
State the different levels of exceptional safety?
What is application frame host?
How cache is used? : Dot net architecture
Explain about microsoft visual studio?
What are different types that a variable can be defined and their scopes ?
What is the difference between .net mobile pages and ordinary .net web page? : Microsoft dot net mobile
What is .net mobile lists. Explain with an example? : Microsoft dot net mobile
What does the term "green architecture" mean? : Dot net architecture
5. Wcf- Session Managment
What is MS chart control in visual studio?