1) how to delete duplicate records from table in sql server
2005

2) what is run time polymorphism

Answers were Sorted based on User's Feedback



1) how to delete duplicate records from table in sql server 2005 2) what is run time polymorphi..

Answer / kishore

select distinct * from Mytable
select distinct * into Newtable from Mytable
drop table Mytable
select * into Mytable from Newtable

Is This Answer Correct ?    12 Yes 7 No

1) how to delete duplicate records from table in sql server 2005 2) what is run time polymorphi..

Answer / shailesh

2>Polymorphism is done by two way Overloading and
overriding.Overriding is called the runtime Polymorphism.

Is This Answer Correct ?    3 Yes 1 No

1) how to delete duplicate records from table in sql server 2005 2) what is run time polymorphi..

Answer / reva

DELETE FROM tableName WHERE id NOT IN
(SELECT MIN(id) FROM tableName GROUP BY name)

Is This Answer Correct ?    2 Yes 2 No

1) how to delete duplicate records from table in sql server 2005 2) what is run time polymorphi..

Answer / nkm

SELECT col1,col2 FROM tDupData
GROUP BY col1,col2
HAVING COUNT(*) > 1

Is This Answer Correct ?    4 Yes 14 No

Post New Answer

More C Sharp Interview Questions

Can you declare struct members as protected?

0 Answers  


how to change a value of particular cell in a data grid

3 Answers  


What is icomparable in c#?

0 Answers  


What is difference between Method and function

3 Answers  


Can a struct inherit from another struct or class in c#?

0 Answers  






State two different types of access modifiers.

0 Answers  


What is _layout cshtml?

0 Answers  


what is inheritance and an example in vb.net and c# of when you might use it?

0 Answers  


How do you implement Inheritance in dot net ?

5 Answers   MMTS, Sea Energy,


Is goto statement supported in c#?

0 Answers  


What language is arduino?

0 Answers  


What does type safety mean?

0 Answers  


Categories