How to delete the duplicate colums in a sql table ?

Answer Posted / sathyasheelanbe

delete from tablename where rowid not in(select max(rowid)
from tablename group by primary key columnname)

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What three things do you consider to be the most important factors for a manager?

595


What are the steps to do to use alerts in bo?

631


how get the grand total in master-detail report?

1817


Can I create a master report in webi having 15 dimensions and 150 kpi's with 100GB of data and store it in cache ,So that I can use Cache for building new reports with less dimensions and Kpi's without hitting database againg just using cache??Please suggest...

1623


What is the functional & architectural differences between business objects and web intelligence reports?

557






How we drill up week to month?

619


How to create Index to the table in the universe designer and how it improves the Query performence

2122


What is a bo repository?

592


How to schedule the report in b.o?

562


Explain difference between zabo and webi?

653


Explain about a time when you discovered a more efficient way to do a work task?

640


What is a fantrap in business objects?

581


what is the difference between add link and include link in BO? Explain me with a scenario when to go for add link and when to go for include link?

9878


Tell me a business scenario where I can achieve the data through MINUS only not through subquery.

2605


What are all the points to keep in consideration, while we are migrating the Universes,Reports from BO5.1.6 to BO 6.5? Is is compatible to migrate like this? Does it effect the filters in Reports and Join in the Universe?

1557