Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

How will you delete duplicate records from a table?

Answer Posted / tharanath.n

delete from table a
where rowid >(select min(rowid) from table b
where a.column = b.column);

Is This Answer Correct ?    13 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How can record locking be achieved in those DB2 versions which do not support it?

1013


What is the reason behind not using select * in embedded sql programs?

1043


What is dbrm? What it contains?

1106


What is the physical storage length of timestamp data type?

1022


What is db2 command?

962


How do I create a view in db2?

969


What is meant by union and union all?

947


How to take backup of table in db2?

1020


What is dbrm in db2 database?

1029


What is a bind in db2?

977


by using cursors , we can access particular records from the table based on some condition, i want to delete those selected records, how can we write a query for this in the program?

8985


in my project..TEST is db2 8.1 version In PROD it is 7.1 if i do REORG in TEST.. can I use the same REORG jcl with out modification in PROD region (this is DB2 8.1 )? if not, what modification i need to do in my REORG control card?

2019


What parameters are used to control the free space in DB2?

1004


Explain packages.

1052


Is it possible to alter a table – for example adding a column, when another user is accessing or updating some columns?

1027