About 13,900,000 results
Open links in new tab
  1. Create a database - SQL Server | Microsoft Learn

    Jul 22, 2024 · This article describes how to create a database in SQL Server by using SQL Server Management Studio or Transact-SQL. To create a database in Azure SQL Database using T-SQL, see CREATE DATABASE. A maximum of 32,767 databases can be specified on an instance of SQL Server.

  2. Create Local SQL Server database - Stack Overflow

    Apr 11, 2017 · I've used SQL Server Management Studio before, but only when the server is already up and running. I need to start from the beginning and create my own instance on the local computer. The instructions I'm getting, is just put "." on the server name and use Windows Authentication. But that gives me a "server not found" error.

  3. Create SQL Server Database using SQL Server Management

    Oct 22, 2019 · Let’s step through the database creation process using SQL Server Management Studio (SSMS). Note: If you’re creating a database for the very first time and you have the rights to do it, it’s assumed you’re doing it on a test or development server and not on a production server. Versions used here are: First, a little background on SSMS.

  4. sql server - SQL Completely Empty Database - Stack Overflow

    Description: This script will remove all tables, views, functions, stored procedures and user defined types from a database. declare @n char(1) set @n = char(10) declare @stmt nvarchar(max) -- procedures. select @stmt = isnull( @stmt + @n, '' ) +. 'drop procedure [' + schema_name(schema_id) + '].[' + name + ']' from sys.procedures.

  5. How to Create a SQL Server Database (No Command Line) - wikiHow

    Apr 14, 2025 · Download and install SQL Server and SQL Server Management Studio. Connect to your instance of SQL Server. Right-click Databases to add a new database. Right-click Tables to add a new table. Right-click the table you created to add data. Click the Execute SQL button to parse the data into the database.

  6. Create Database in MS SQL Server - GeeksforGeeks

    Aug 14, 2024 · To create a database, the below methods could be used: SQL Server Management Studio. Transact-SQL. The following can be the basic syntax for creating a database in MS SQL Server. Restoring a database using a T-SQL script can be done in SQL Server Management Studio (SSMS) by executing a series of SQL commands.

  7. SQL Server CREATE DATABASE By Practical Examples

    Summary: in this tutorial, you will learn how to create a new database in SQL Server using CREATE DATABASE statement or SQL Server Management Studio. The CREATE DATABASE statement creates a new database. The following shows the minimal syntax of the CREATE DATABASE statement:

  8. SQL Create Database Valuable Tutorial with T-SQL and SSMS

    Dec 11, 2024 · If you want to create a database with default parameters, the process is very simple. Let us create a sample database named VS_HRMS. Open your SSMS and connect to your instance. In my case, my instance is named Nisarg-PC. Right-click on Databases and select New Database… Enter the desired database name.

  9. SQL Server 2014 - Create a Database - Quackit Tutorials

    So we've just created a database. But it's a blank database. Before we can add data to our database, we'll need to create at least one table. Create a database in SQL Server 2014 with this free SQL Server tutorial.

  10. Creating a blank copy of a SQL Server 2012 database on the …

    Oct 11, 2014 · I'm trying to determine the best way of creating a blank copy of a SQL Server 2012 database, renaming it & placing it on the same server instance. I could restore/rename a backup copy, and then delete all the data, but there are quite …

  11. Some results have been removed
Refresh