The Read File transformation locates and opens the contents of a file, whose name is specified in a source column, and copies the contents into a destination column.
When you configure the transformation, you define the path containing the files listed in the source column. All the files must be in the same directory path.
Note The directory name can start with a disk drive or a Universal Naming Convention (UNC).
If a file is not found in the path, you can either:
Or
A Read File transformation fails if:
If the destination column is a string type, file contents are interpreted according to their file type (for example, ANSI, OEM, or Unicode). Translation is performed on the instance of Microsoft® SQL Server™ running the package, using current code pages. If the destination column is of binary or image type, no translation occurs.
To perform a Read File transformation
DataPumpTransformReadFile Object