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

CREATE TABLE B
AS
SELECT *
FROM
(SELECT *
FROM
(SELECT *,ROWNUM R
FROM A)
ORDER BY R DESC)
WHERE R=1;

Is This Answer Correct ?    0 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the differences between joiner transformation and source qualifier transformation?

852


What are the different options available for update strategy?

758


What is the scenario which compels informatica server to reject files?

794


What are the limitations of joiner transformation?

838


Whats there in global repository

1431






How to use procedural logic inside infromatica?

831


What are session parameters ? How do you set them?

1563


Can some one explain me about Telecommunications(wireless) project in Informatica? Thanks in advance

1739


Which means the first record should come as last record and last record should come as first record and load into the target file?

809


How do you load first and last records into target table? How many ways are there to do it? Explain through mapping flows.

872


can we override a native sql query within informatica? Where do we do it? How do we do it?

806


What do you mean incremental aggregation?

794


What is joiner change?

891


State the limitations where we cannot use joiner in the mapping pipeline?

738


Difference between Data and Index Caches?

858