on 04-15-2014 2:56 AM
Dear Experts,
In my source ECC is very huge volume of data more than 4 crore records.
I need to use Extractor and need to extract every two months data on everyday (daily basis) starting from 2008.
The data will be loading to oracle data warehousing.
Kindly provide the solution
Regards
Selvam
You can do this way:
Declare two global variables $start_date and $end_Date and set those as following in a script.
$start_date =add_months(sysdate( ),-2);
$end_date =sysdate( );
Your where clause of Query Transform would look like as under while extracting.
Table.Date_Field >=$start_date and Table.Date_Field <=$end_Date
Hope this helps.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Yes, the logic will give 2 months data at a time.
But yes, if it is one time extraction then start date and end date to be made dynamic where start date and end date will be incremented by 2 months after every run starting from 2008. Extraction will happen inside a loop and it shall continue till reaches the current date.
User | Count |
---|---|
84 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.