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
Explain about metadata?
State and explain about microsoft.net?
How to develop mobile applications using microsoft mobile internet toolkit (mmit) or .net mobile? : Microsoft dot net mobile
Explain pipelining? : .NET Architecture
Can I create my own metadata attributes?
What is the mesi? : Dot net architecture
What are the main Tools to develop .Net Application?
How to prevent my .NET DLL to be decompiled?
Explain how does .net mobile work? : Microsoft dot net mobile
What are the types of application software?
What is the purpose of Accordian in jquery? Where it can be used?
What are the new features of .net 2.0?
How do I prevent concurrent access to my data?
Why the config file might not be writable
Explain write back and write through caches? : .NET Architecture