• By looking at your post all i can think of is that your getting an error while parameters to the Execute SQL Task bcz you are using "?" parameters before an = sign.. which is not allowed (as per my knowledge)...

    The best approach would be to use expressions and replace your execute SQL statement with a variable which will hold your expression....

    This is what i have figured out.. dont exactly know what your question is.... AS Jack said Post more information without which nobody can guide you in the right way...