Re: the post about the 2 columns and loading all of the data into a single column:
TPT has a feature whereby you indicate in the schema a column that is a metadata column specifically for the file name, and TPT will insert the file name into that column for the user.
Check the documentation for the "metadata" keyword in the schema object. I think it is something like:
DEFINE SCHEMA
(
Column_name VARCHAR(100) METADATA(FILENAME),
Column_data VARCHAR(50000)
)
TPT does not support a newline character as a field delimiter.
But pick a delimiter as a character (or series of characters whose sequence) you know will not be part of the data and that should be sufficient.
↧