Results 1 to 6 of 6

Thread: Loading for 6th Record

  1. #1
    Expert Member
    Join Date
    Oct 2006
    Answers
    209

    Loading for 6th Record

    In case of flat file I dont want to load first 5 rows in the target? It must load from the 6th record. Can anyone help me out.

    NOTE : [This question was asked by Vinoth]


  2. #2
    Junior Member
    Join Date
    Jun 2008
    Answers
    2

    Re: Loading for 6th Record

    then put the number 5 when u import the file, the designer will ask no. of rows to skip.
    there givn 5 .it will skip 5 rows and start loading from 6 row.


  3. #3
    Contributing Member
    Join Date
    Dec 2007
    Answers
    34

    Smile Loading for 6th Record

    Hi,

    Logic
    ------

    SRC----EXP-----FIL------TGT

    In expression create one varaible port(V_SEQ_NO)

    STEP 1: Write this expresssion in variable pt->
    IF(ISNULL(V_SEQ_NO),1,V_SEQ_NO+1)
    STEP 2: Pass this port to FILTER
    STEP 3: In Filter condition, V_SEQ_NO = 6

    Please get back to me in case of queries.

    Thx & Regards,
    Prakash


  4. #4
    Junior Member
    Join Date
    Jul 2008
    Answers
    2

    Smile Re: Loading for 6th Record

    Quote Originally Posted by JobHelper View Post
    In case of flat file I dont want to load first 5 rows in the target? It must load from the 6th record. Can anyone help me out.

    NOTE : [This question was asked by Vinoth]
    take filter after s.q and filter first five records.


  5. #5
    Junior Member
    Join Date
    Jul 2008
    Answers
    2

    Smile Re: Loading for 6th Record

    Quote Originally Posted by JobHelper View Post
    In case of flat file I dont want to load first 5 rows in the target? It must load from the 6th record. Can anyone help me out.

    NOTE : [This question was asked by Vinoth]
    take expression transformation in that generate sequence by usin variables after that put filter and filter first five records.


  6. #6
    I am the DON
    Join Date
    Apr 2006
    Answers
    99

    Lightbulb Re: Loading for 6th Record

    Quote Originally Posted by chiru4015 View Post
    take filter after s.q and filter first five records.
    With what Chiru........!

    Please follow the step given by cme_prak

    Sanghala

    If you are satisfied with my reply. Please click “Thanks” button which increases the reputation and can serve you better.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
About us
Applying for a job can be a stressful and frustrating experience, especially for someone who has never done it before. Considering that you are competing for the position with a at least a dozen other applicants, it is imperative that you thoroughly prepare for the job interview, in order to stand a good chance of getting hired. That's where GeekInterview can help.
Interact