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
What is .net mobile lists. : Microsoft dot net mobile
where should I put this information then?
What are the main Tools to develop .Net Application?
Explain how does .net mobile work? : Microsoft dot net mobile
Are there any third party logging components available?
Explain how cache is used? : Dot net architecture
How can I write my own .NET host?
Explain write back and write through caches? : .NET Architecture
deference between display and visibility property of CSS
Describe the advantages of writing a managed code application instead of unmanaged one. What is involved in certain piece of code being managed?
what is the method while we are using adapter and dataset ?
Define a virtual memory? : Dot net architecture
how to change the title of my window?
What do you know about machine.config file ?
Define the mesi? : Dot net architecture