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
Define domestic architecture artifacts? : Dot net architecture
Define dma? : Dot net architecture
Explain .net mobile events? : Microsoft dot net mobile
Can you Explain
How do you handle this COM components developed in other programming languages in .NET?
When do I need to use gc.keepalive?
Difference between throw exception and rethrowing ?
Is .net easier than java?
What is a clickonce application?
Explain Singleton design pattern in .net
server.transfer limitation ?
Explain write back and write through caches? : Dot net architecture
HttpHendler and HttpModules
How does an appdomain get created?
What is gui programming? : .NET Architecture