• I've just tested this and it shuold work with an INT32 datatype.

    How is your tast set up? is it set to use Single or Full row count?

    The Variable is set up in the Result set part of the SSIS SQL task, with the Result name set to 0 and Variable name pointing at the correct variable.

    _________________________________________________________________________
    SSC Guide to Posting and Best Practices