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...

write a query for how to eliminate the duplicate rows
without using distinct?

Answer Posted / czarabid

it's very simple the question is to delete the duplicated
records and it's solution is here
DELETE FROM TABLE_NAME1 t1 WHERE ROWID </> any(SELECT ROWID
FROM TABLE_NAME1 t2 WHERE t1.column1=t2.column1);
this will delete only the redundant records leaving only one
copy of the same records in the table.
If you want to delete all the records which are redundant
then the solution is here
DELETE from table_name1 t1 where rowid <> any (select rowid
from table_name1 t2 where t1.no=t2.no)

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Differentiate between joiner and lookup transformation?

1159


Design a mapping to load a target table with the following values from the above source?

1394


What are the new features of informatica 9.x in developer level?

1052


What is the use of transformation?

1054


In development project what is the process to follow for an etl developer from day1

1758


Explain in detail about scd type 1 through mapping.

1629


What are the settings that you use to configure the joiner transformation?

1103


Why update strategy and union transformations are active? Explain with examples.

1284


What are the new features of informatica 9.x at the developer level?

1105


How can we use mapping variables in informatica? Where do we use them?

1287


How can you increase the performance in joiner transformation?

1248


Explain the mapping variable usage example in informatica

1224


How can we delete duplicate rows from flat files?

1309


How to extract the informatica rejected data?

1256


what is Active lock explain

2857