In my source table 1000 rec's r there.I want to load 501 rec to 1000 rec into my Target table ?how can u do this ?

Showing Answers 1 - 5 of 5 Answers

prasanth

  • May 17th, 2006
 

You use a sql over ride using 'rownum'

  Was this answer useful?  Yes

Sudhakar Reddy

  • May 22nd, 2006
 

Prashanth, Can u please expain in detail?

  Was this answer useful?  Yes

nan.kumar

  • May 22nd, 2006
 

Hi,select * from (select col1, col2,rownum rn from table_name ) where rn > ( select (max(rownum) -n) from table_name );Nanda

  Was this answer useful?  Yes

viswanath

  • May 26th, 2006
 

in db2 we write statement as fetch first 500 rows only.

in informatica we can do by using sequence generator and filter out the row when exceds 500

  Was this answer useful?  Yes

Krishna Ramineni

  • Jun 6th, 2006
 

You can overide the sql Query in Wofkflow Manager. LIke

select * from tab_name where rownum<=1000

minus

select * from tab_name where rownum<=500;

This will work fine. Try it and get back to me if u have any issues about the same.

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.