Get Rows Base on package variable then removes rows from source

  • I have a package where I am retrieving rows from a source table based on the min(YearMonth) field e.g. 201005, I was able to pass variable using a execute sql task, then I have a data flow which uses a conditional split statement to redirect the rows to my historical tables. now I would like to delete those rows from the source table once they have been redirected. I tried used another Execute Task using the variable in a where clause to delete the rows, but it did not work. Any suggestions on how to delete the rows from the source? Thanks

  • Solved the issue with by using the ? in my where clause and passing my variable to the parameter mapping in the execute sql task. Thanks

Viewing 2 posts - 1 through 1 (of 1 total)

You must be logged in to reply to this topic. Login to reply