How to extract only the first and last records from a flat file and load the same to the target? Any answers?
This is a discussion on Extract and Load only the first and last records from a flat file to target within the Databases forums, part of the category; How to extract only the first and last records from a flat file and load the same to the target? Any answers?...
How to extract only the first and last records from a flat file and load the same to the target? Any answers?
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.