Full recovery model

  • Will a 'truncate' happens in a full recover model database.

  • Please clarify your question.

    Truncate what? (There are three places at least where that term is used in SQL)

    Under what circumstances are you asking. Technically anything can happen if someone runs the command to cause it.

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • i mean to say ..if a 'truncate' command happened in a database.Will it be logged in a full recovery model

  • Are you talking about TRUNCATE TABLE?

    As i mentioned, there are three different concepts that truncate refers to, please be specific.

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • yes truncate table

  • Truncate table is logged in all recovery models. There's no such thing as an unlogged data modification in SQL Server.

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass

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

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