Hi guys,
Have built this SSIS package that imports data from a csv into the database and then runs a load of sql commands based on the data in there to insert new users, roles etc etc into the relevant tables in the database.
however i wanted to do this without having to create a table in the database that would stay there merely for this import routine.
So have added SQL task the data flow to create a table, then after the last SQL task to drop the table.
However now on running it, it throws the inevitable error message that the destination table in my data flow does not exist.
Basically i want to create the table, se it for the data import, then after all is done, drop the table to kind of tidy up after myself.
Am i missing something here? Or is there a way to do this that I am not seeing?
Cheers guys
Have built this SSIS package that imports data from a csv into the database and then runs a load of sql commands based on the data in there to insert new users, roles etc etc into the relevant tables in the database.
however i wanted to do this without having to create a table in the database that would stay there merely for this import routine.
So have added SQL task the data flow to create a table, then after the last SQL task to drop the table.
However now on running it, it throws the inevitable error message that the destination table in my data flow does not exist.
Basically i want to create the table, se it for the data import, then after all is done, drop the table to kind of tidy up after myself.
Am i missing something here? Or is there a way to do this that I am not seeing?
Cheers guys