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

My source table having some records ,i want load 1st record
and last record into one target?

Answer Posted / chandrasekar

I took the EMP table and we can use the below query in the
SQL override,

select * from emp where rownum=1 union select *
from emp where rowid=(select max(rowid) from
emp);

it will work.

Is This Answer Correct ?    7 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Hi all, Can you please send me the Dimensions and fact tables which are used in mutual fund project. and please send me the brief summary about the project. Please do the needful.

2305


what are the different types of transformation available in informatica. And what are the mostly used ones among them?

1064


EXL informatica Questions

1391


What is a joiner transformation?

997


What is the sql query overwrite in source qualifier in informatica

1090


What is the difference between SOURCE and TARGET BASED COMMITS? What are the deliverables?in your project?

2122


Which files are created during the session rums by informatics server?

1180


what are the fact table & dimensional table in pharmaceutical and hospotal related products???

2136


what is the size ur source like(file system or database)? how many record daily come u r banking project?

2146


What do you mean by filter transformation?

953


What is the different lookup cache(s)?

1086


Design time, run time. If you don't create parameter what will happen

1837


What is a surrogate key?

1083


What if the source is a flat-file?

1112


Explain sessions?

1066