Hi,
Can SSIS be used to implement the following:
1. Each company will supply a monthly text file.
2. A companys file format will be the same each month.
3. No two companies will use the same file format and column orders/number of columns as each other.
4. I want to poll a windows folder for the text files and import them into a staging table, ready for validation.
I can do this using a stored procedure by creating a format file for each client and storing the name of it in a table. The client name is included in the file name and this can be used to look up the appropriate format file from a table which is added dynamicaly to the Bulk Insert command.
Is it practical to create this solution in SSIS or am I better of sticking with stored procs?
Thanks
Jon
Can SSIS be used to implement the following:
1. Each company will supply a monthly text file.
2. A companys file format will be the same each month.
3. No two companies will use the same file format and column orders/number of columns as each other.
4. I want to poll a windows folder for the text files and import them into a staging table, ready for validation.
I can do this using a stored procedure by creating a format file for each client and storing the name of it in a table. The client name is included in the file name and this can be used to look up the appropriate format file from a table which is added dynamicaly to the Bulk Insert command.
Is it practical to create this solution in SSIS or am I better of sticking with stored procs?
Thanks
Jon