Turn off Autofile growth

  • How to turn off auto file growth , not by enterprise manager?

  • Look at ALTER DATABASE in BOL.

  • Default is turn on,  but I counldn't set to off.

  • You can only turn off this option by file. First you need to execute sp_helpdb for the database in questino to get the logical file names for the mdf and ldf files in the database. Then use the followuing SQL:

     alter database [database name] modify file

      (name = [mdf logical filename], filegrowth = 0MB)

     alter database [database name] modify file

      (name = [ldf logical_ ilename], filegrowth = 0MB)

    RegardsRudy KomacsarSenior Database Administrator"Ave Caesar! - Morituri te salutamus."

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

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