Database Properties (Files Page)

Use this page to create a new database, or view or modify properties for the selected database. This topic applies to the Database Properties (Files Page) for existing databases, and to the New Database (General Page).

To view Database Properties (General)

To view the database properties in SQL Server Management Studio

  • Database name
    Add or display the name of the database.

  • Owner
    Specify the owner of the database by selecting from the list.

  • Use full-text indexing
    This check box is checked and disabled because full-text indexing is always enabled in SQL Server 2008. For more information, see Full-Text Search (SQL Server).

  • Database Files
    Add, view, modify, or remove database files for the associated database. Database files have the following properties:

    • Logical Name
      Enter or modify the name of the file.

    • File Type
      Select the file type from the list. The file type can be Data, Log, or Filestream Data. You cannot modify the file type of an existing file.

      The FILESTREAM option will not appear if FILESTREAM is not enabled. You can enable FILESTREAM by using the Server Properties (Advanced Page) dialog box.

    • Filegroup
      Select the filegroup for the file from the list. By default, the filegroup is PRIMARY. You can create a new filegroup by selecting <new filegroup> and entering information about the filegroup in the New Filegroup dialog box. A new filegroup can also be created on the Filegroup page. You cannot modify the filegroup of an existing file.

    • Initial Size
      Enter or modify the initial size for the file in megabytes. By default, this is the value of the model database.

      This field is not valid for FILESTREAM files.

    • Autogrowth
      Select or display the autogrowth properties for the file. These properties control how the file expands when its maximum file size is reached. To edit autogrowth values, click the edit button next to the autogrowth properties for the file that you want, and change the values in the Change Autogrowth dialog box. By default, these are the values of the model database.

      This field is not valid for FILESTREAM files.

    • Path
      Displays the path of the selected file. To specify a path for a new file, click the edit button next to the path for the file, and navigate to the destination folder. You cannot modify the path of an existing file.

      For FILESTREAM files, the path is a folder. The SQL Server Database Engine will create the underlying files in this folder.

    • File Name
      Displays the name of the file.

      This field is not valid for FILESTREAM files.

    • Add
      Add a new file to the database.

    • Remove
      Delete the selected file from the database. A file cannot be removed unless it is empty. The primary data file and log file cannot be removed.

    For information about files, see Designing Files and Filegroups.