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 dma? : Dot net architecture
When do I need to use gc.keepalive?
Let's say I have an existing application written using Visual Studio 6 (VB 6, InterDev 6) and this application utilizes Windows 2000 COM+ transaction services. How would you approach migrating this application to .NET ?
if there are two application 1 and 2 having a variable x in both app if client1 changes value of x in 1 app client 2 want reads the value of x from 2 app what resultant value will he get
How do I stop a thread?
Explain about clr?
What is the difference between Server.Transfer and Response.Redirect? Why would I choose one over the other?
what is polymorphism and advantage ?
Explain the purpose of cache? How is it used? : .NET Architecture
can aspx page contains two pager tags ?
What is the difference between a web custom control,web user control and a web part.
How to call the dll at runtime in .Net?