I am trying to load a MS SQL server database with data from flat files. As part of the process, I have been given a stored procedure to delete data from the load table, which I run before I load the data from the file.
I successfully built this, and tested it with multiple runs, to make sure it was deleting the data before each run.
Then I edited the transformation to add some logging and error handling. I did not touch the steps that called the stored procedure. Now my tests fail due to primary key constraint violations. It seems clear that the Call DB Procedure to clear the load table is no longer working, and furthermore, there is no indication of failure until I try to load the table.
Has anyone run into this before? It is very frustrating and puzzling.
I successfully built this, and tested it with multiple runs, to make sure it was deleting the data before each run.
Then I edited the transformation to add some logging and error handling. I did not touch the steps that called the stored procedure. Now my tests fail due to primary key constraint violations. It seems clear that the Call DB Procedure to clear the load table is no longer working, and furthermore, there is no indication of failure until I try to load the table.
Has anyone run into this before? It is very frustrating and puzzling.