How to Create MS SQL Database Through SQL Server Management Studio?

This article will assist you to create MS SQL database through SQL Server Management Studio.

  1. Open Run box by pressing Windows key + R.
  2. In Run box type SSMS and hit enter. This will open connect to server window.

    Run Menu

  3. Enter following details in connect to server window.

    • Server type == Database Engine
    • Server name == SQL-Server-IP-address,1533
    • Authentication == SQL Server Authentication
    • Login == sa
    • Password == password of 'sa' user.

         Connect to Server

  4. You are connected to MS SQL Server. Now, under Object Explorer, right-click on Databases and click on New Database.

    New Database

  5. In New Database window, enter a database name.

    New Database Window

  6. If you want to create database with default values, click OK, otherwise refer to following steps.
  7. If you want to change the default value of the primary data and transaction log files, in the Database files , click the appropriate field and enter your desired value.
  8. If you want to change the collation of database, select Options page in left hand side pane and select a collation of your choice from the list.

    Database Options

  9. Similarly, you can change the recovery model and compatibility mode of your choice from Options page.
  10. You can add new filegroup under Filegroups page. From here, click Add and enter the values for the filegroup.

    FileGroups

  11. Click OK to create the database.

  • 0 Users Found This Useful

Was this answer helpful?

Related Articles

How to configure MSSQL server default language configuration option?

Recently, we faced strange issue wherein one of our customers was capturing error messages coming...

Comparison of MS SQL Server 2014 Express Edition V/s. MS SQL Server 2014 Web Edition

Following is a brief comparison between MSSQL Server 2014 Express Edition and MSSQL Server 2014...

How to take MSSQL database offline or bring it online?

Sometimes, you come across to a situations when you are required to physically move the database...

How to change database language in MS SQL 2012 server?

Following article will guide you to change database language in MS SQL 2012 server. Login to...

How to Fix Error "Could not allocate space for object 'X' in database"?

Error Message Could not allocate space for object 'dbo.ABC_XYZ_XYZ'.'AB__ABC_XYZ__XYZ' in...