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

CREATE TABLE B
AS
SELECT * FROM A
ORDER BY ROWNUM DESC;

Is This Answer Correct ?    26 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

define galaxy repository in informatica

1926


What is union transformation in informatica?

920


What is resilience time?

834


Enlist the differences between database and data warehouse.

773


How to display session logs based upon particular dates. If I want to display session logs for 1 week from a particular date how can I do it without using unix. ?

1795


I have a flat file, want to reverse the contents of the flat file

895


Which version configuration tool used in ur project?

2963


Does an informatica transformation support only aggregate expressions?

796


write a query to retrieve the latest records from the table sorted by version(scd)

828


How to partition the Session?

839


What is the maplet?

799


How to start a workflow using pmcmd command?

919


in u flatfile some of fact records are missed then u load the diminision records are not if u load diminsion records what about fact table records

1960


My source is delimited flat file Flat file data is H|Date D1|ravi|bangalore D2|raju|pune T|4 The data will be send to target if the fallowing two conditions satisfied 1.The first row Date column is equal to SYSDATE 2.Last record second port equal to number of records. How to achieve?

1710


How do you load only null records into target? Explain through mapping flow.

1755