Changing space allocated to database

  • How do I expand the space allocated to a database that already exists?

  • Hi Mark,

    Open the Enterprise Manager then Select the database -> Right Click on it -> Go to the Database properties -> Open the Data file Tab -> Change the alloted size to db.

    You can also check the option of Autometic File Grow.

    Thanks & Regards

    Amit Gupta (MVP).

     

  • Check BOL - ALTER DATABASE, SIZE MAXSIZE,  GROWTH

    and an example:

     

    ---

     alter database master modify file

      (name = master,

      size = 25MB,

      maxsize = 51MB,

      filegrowth = 25MB)

     go

     checkpoint

     go

     alter database master modify file

      (name = mastlog,

      size = 25MB,

      maxsize = 51MB,

      filegrowth = 25MB)

     go

     checkpoint

     go

    ---

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

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

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