Results 1 to 8 of 8

Thread: Duplicating one row into two rows

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

    Duplicating one row into two rows

    I have one flatfile by name xyz having one row, and i want to duplicate this one row into two rows in my target table by name xyz without using any transformation or any condition, how can i do this?

    NOTE : [This question was asked by Pramod]


  2. #2
    Junior Member
    Join Date
    Feb 2007
    Answers
    6

    Re: Duplicating one row into two rows

    just do a straight load...that one row will be inserted into the target table.
    Click the update as update checkbox in the target load option and then run the session once again.do reply


  3. #3

    Re: Duplicating one row into two rows

    How to do if Target is Flat file


  4. #4
    Junior Member
    Join Date
    Feb 2007
    Answers
    2

    Re: Duplicating one row into two rows

    Can u please elobarte your question....?


  5. #5
    Junior Member
    Join Date
    Feb 2007
    Answers
    6

    Re: Duplicating one row into two rows

    what i said s only for relational targets. for flat files there r some target load options like Loader, but i dunno how to use it. if we cant use in that case i think we shuld use update strategy transformation


  6. #6

    Re: Duplicating one row into two rows

    Hi ,

    If target is flatfile or relational database you can use normalizer (occurs)transformation to make one row into multiple rows.

    Regards
    cha


  7. #7
    Junior Member
    Join Date
    May 2007
    Answers
    1

    Re: Duplicating one row into two rows

    hi all

    i think we can do this by normalizer rtansformation


  8. #8
    Contributing Member
    Join Date
    Apr 2007
    Answers
    46

    Re: Duplicating one row into two rows

    First if you want to make duplicate records in target table then u can drag those columns from source qualifier to target table two times, But please make sure tht there should not be any type of unique constraint or primary key constraint on that column at database level otherwise it will give an error.


    Reeta


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