• Hi Koen, thanks for replying.

    Not sure how to set up my variable (it's an integer in our database so what would the data type be as a variable?). All the data types I use (except the object data type) gives me an error when I run the Execute SQL Task.

    If you have any input please let me know.

    Kind regards

    Fred