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 / mr lee

Select * From Table A Where ROWID = (Select Max(ROWID) From
Table A
Union
Select * From Table B Where Rownum = 1

Is This Answer Correct ?    0 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Separate from a database, an information bazaar, and an information stockroom?

607


explain any diffcult scenario that u have faced in your experience... or explain any complex maping u have developed?

1705


Explain your project of banking domian.

1218


How many types of sessions are there in informatica.please explain them?

678


What is the need of etl tools?

609






Briefly describe lookup transformation?

599


What are the settings that you use to configure the joiner transformation?

613


What is Cognos script editor?

3784


What is the need of an ETL tool?

641


Why update strategy and union transformations are active? Explain with examples.

712


Explain the difference between mapping parameter and mapping variable?

606


Explain the difference between a data warehouse and a data mart?

599


What are the advantages of using informatica as an etl tool over teradata?

567


How to start a workflow using pmcmd command?

711


Differences between connected and unconnected lookup?

610