The goal was to load the data in identically structured CSV files--all files in directory.
First attempt at building package with for each container got all sorts of cryptic error messages.
So I deleted the entire package and created one with the Import/Export wizard and a single file name.
Execute package gave me no errors or warnings.
The wizard creates three control tasks: DROP TABLE, CREATE TABLE, and data flow
I added the for loop and identified the directory, and put the filename in a variable.
I disconnected the data flow from the create table, and dragged it into the for-each.
I connected the create table to the for-each.
edited the expression to make the input connection manager user the variable. Execute package got errors in the drop table.
--
Wes Groleau
First attempt at building package with for each container got all sorts of cryptic error messages.
So I deleted the entire package and created one with the Import/Export wizard and a single file name.
Execute package gave me no errors or warnings.
The wizard creates three control tasks: DROP TABLE, CREATE TABLE, and data flow
I added the for loop and identified the directory, and put the filename in a variable.
I disconnected the data flow from the create table, and dragged it into the for-each.
I connected the create table to the for-each.
edited the expression to make the input connection manager user the variable. Execute package got errors in the drop table.
--
Wes Groleau