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
How to use procedural logic inside infromatica?
I need the output file in the below format using Informatica. __0946684800__ 6 1 3 1 5 1 6 1 10 1 6 10 Pos State Time Split AgentID Reason Spaces Code in Code Spare state ______ ___ _____ ______ __________ ______ 1234 14 0 4321 3103 abcd 4321 15 5 123452 3150 Can someone help please?? We need the data in space-delimited, fixed ASCII format .
Why do we need informatica?
Define Pmrep command?
Explain the use of aggregator cache file?
What is Cognos script editor?
What does reusable transformation mean?
Explain where to store informatica rejected data? How to extract the informatica rejected data?
Explain load alternative records / rows into multiple targets - informatica
what are the deliverables?in your project?
What is the fact table?
What is the use of target designer?
Explain incremental aggregation in informatica
Informatica Server and Client are in different machines. You run a session from the server manager by specifying the source and target databases. It displays an error. You are confident that everything is correct. Then why it is displaying the error?
What is the session task and command task?