Forum Replies Created

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

  • RE: Fail SSIS job on empty table

    Crispin Proctor (8/12/2008)


    sorry, remove count(Null) and just have null.

    Select null from table.

    That did the trick. Thanks!

  • RE: Fail SSIS job on empty table

    Crispin Proctor (8/12/2008)


    Easiest way would be to use a SQL task and run a check in it.

    If not Exists(Select count(Null) From MyTable)

    RaisError("Table is empty!", 16, 1)

    This seems to...

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