i have oracle table A and target B. i don't know how many
records. i want get get last record in table A as first record
in target table B. write a sql query?

Answer Posted / upendra

select * from (select rownum as num,a.* from A a) where num=(select count(*) from A);

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the difference between informatica 7.0 and 8.0?

566


What is the fact table?

588


What do you mean by channel change?

541


Explain Dataware house architecture .how data flow from intial to end?

2124


What is the benefit of partitioning a session?

625






What is the Process to creating lookup transformation in informatica

583


Can we create two repositories on same database instance in oracle?

609


How can you define user defied event?

618


What is depict expression change?

617


Explain what are the different versions of informatica?

655


What is rank transformation in informatica

689


How to extract sap data using informatica? What is abap? What are idocs?

558


What is a repository? And how to add it in an informatica client?

653


How big was your fact table

1316


What is the need for an etl tool?

633