Results 1 to 2 of 2

Thread: Extract and Load only the first and last records from a flat file to target

  1. #1
    Junior Member
    Join Date
    Nov 2005
    Answers
    17

    Extract and Load only the first and last records from a flat file to target

    How to extract only the first and last records from a flat file and load the same to the target? Any answers?


  2. #2
    Moderator
    Join Date
    Oct 2005
    Answers
    305

    Re: Extract and Load only the first and last records from a flat file to target

    Perform SQL Trans, Agg and Rank transformations. In Agg transformation do not perform any grouping for columns. Set the rank 1 only in Rank transformation properties. Use UNION transformation to get first and last record in Target table.


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