transactions

  • I am not aware if we can we have a bulk insert statement where the transactions are not logged. Also how is it possible to have no transactions logged for an insert and update statment. any help will be greatly appreciated

  • Any update and insert statements will be logged even though database is set as simple recovery mode.

    In order to minimize transaction being logged in BULK Insert, all following considitions have to be met.

    The recovery model is simple or bulk-logged.

    The target table is not being replicated.

    The target table does not have any triggers.

    The target table has either 0 rows or no indexes.

    The TABLOCK hint is specified

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

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