How to delete the duplicate colums in a sql table ?

Answers were Sorted based on User's Feedback



How to delete the duplicate colums in a sql table ?..

Answer / san

It's not at all possible to create duplicate columns in a
SQL table. The how can we delete the duplicate columns?

Is This Answer Correct ?    10 Yes 0 No

How to delete the duplicate colums in a sql table ?..

Answer / 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

How to delete the duplicate colums in a sql table ?..

Answer / subash

In this query the values will delete based on employee names

delete from emp a1 where rowid<(select max(rowid)from emp a2
where a1.ename = a2.ename group by a2.ename having count(1) >1);

Is This Answer Correct ?    3 Yes 4 No

Post New Answer

More Business Objects Interview Questions

What is meant by data federator and what is the use of it?

2 Answers   TCS,


1) How to get multi values in a single prompt? 2) How to get ALL in @prompt? 3) Select 1 from fact table? What will be the result? 4) I have created 1 universe say A and generated 100 reports on the universe? Later i had renamed the Universe as A1 and added some objects? Now how i will get the newly added objects in old reports?

1 Answers   iGate,


Hi I am starter in BOXIR2.CAn anyone plz tell me the user identification details to be entered at the time of login to designer/deski

1 Answers  


Can we link the Universes from two different sourcess?Explain?

2 Answers   IBM, Oracle,


3.what is alias?

5 Answers   Business Intelligence Analytics, TCS,






How to create Derived Tables in BO 6.5.4 with columns from different tables in the universe and how it has to be joined in the universe? If any one gives us a PPT format I will be more thankful.

1 Answers   Cognizant, WinAlliance,


what are cascading prompts explain with steps

4 Answers  


what is a filter?

4 Answers  


What is Array bind size in universe? Plz

2 Answers   TCS,


Hai, Can anyone tell me 'how to use one dataprovider result as an input to another dataprovider?. In BO6.5 there is an option like "select query result". we can use this option in the filter. but the same thing not available in BO XI webi. if any one face this problem , can you please share with me how to do this? Thanks, Narmatha.

3 Answers  


IF VIEW IS FASTER THAN DERIVED TABLE WHY WE ARE USING DERIVED TABLE IN BUSINESS OBJECTS?

1 Answers   Accenture,


What is the need of live office connector

3 Answers  


Categories