Row count in Bulk insert task

  • Hi There,

    is there any way to have a row count from Bulk Insert Task, like we do for data flow task?

    Thanks In Advance

  • Hi

    I'm afraid not, you can count rows in separate tasks before and after run Bulk Insert Task.

    Br.

    Mike

  • Might as well use a data flow ...

    The absence of evidence is not evidence of absence.
    Martin Rees

    You can lead a horse to water, but a pencil must be lead.
    Stan Laurel

  • vignesh.ms (4/15/2015)


    Hi There,

    is there any way to have a row count from Bulk Insert Task, like we do for data flow task?

    Thanks In Advance

    Try using the @@ROWCOUNT global variable.

    BULK INSERT foo

    FROM bar

    GO

    SELECT @@ROWCOUNT

    ____________________________________________________________

    AP

Viewing 4 posts - 1 through 3 (of 3 total)

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