About 919,000 results
Open links in new tab
  1. SQL CREATE DATABASE Statement - W3Schools

    The CREATE DATABASE statement is used to create a new SQL database. The following SQL statement creates a database called "testDB": Tip: Make sure you have admin privilege before creating any database. Once a database is created, you can check it in the list of databases with the following SQL command: SHOW DATABASES;

  2. CREATE DATABASE (Transact-SQL) - SQL Server | Microsoft Learn

    Dec 19, 2024 · You can use the CREATE DATABASE statement to create a read-only, static view, a database snapshot of the source database. A database snapshot is transactionally consistent with the source database as it existed at the time when the snapshot was created.

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

    Dec 11, 2024 · The SQL Server database can be created using SQL Server Management Studio or CREATE DATABASE statements. First, we will discuss a brief overview of SQL Server databases, followed by step-by-step instructions to create the database using both methods as well as examples.

  4. SQL Server Create Database Examples - MSSQLTips.com

    Dec 11, 2019 · Simple Command to Create a SQL Server Database. Let’s start with the simplest possible CREATE DATABASE statement we can do. This is simply ‘CREATE DATABASE database_name’.

  5. Create Database SQL Server with SSMS or T-SQL

    Jul 5, 2022 · Creating a database in a test environment can be a quick and easy task and can be done using the SSMS GUI or by running a simple T -SQL statement in a SQL Server Management Studio (or SSMS) query window.

  6. SQL CREATE DATABASE | GeeksforGeeks

    Apr 12, 2025 · The CREATE DATABASE Command is used to create a new database within a SQL based Database Management System (DBMS) such as MySQL, PostgreSQL, or SQL Server. A database acts as a container where all your data tables, views, stored procedures, and more are stored.

  7. SQL Server CREATE DATABASE By Practical Examples

    This tutorial shows you how to create a new database in SQL Server using CREATE DATABASE statement or SQL Server Management Studio.

  8. How to create a database with SQL CREATE DATABASE

    Feb 25, 2025 · Now you can use your database. Similar commands to SQL CREATE DATABASE. If you’ve successfully created a database, you can create a new table in it. To do this, use SQL CREATE TABLE. To ensure that you can work in your database at all times, you should create regular backups. The appropriate command for this is SQL BACKUP DATABASE.

  9. Create database - SQL for Geeks

    Creating SQL database refers to the the process of defining and adding a new database instance that is managed by a database management system (DBMS) using SQL commands. "CREATE DATABASE" command is used to create the database. To create SQL database, you can use the graphical user interface (GUI) or Transact-SQL (T-SQL).

  10. SQL - CREATE Database: A Beginner's Guide - W3schools

    In SQL, we use the CREATE DATABASE statement to do this. It's like saying, "Hey SQL, I want to build a new digital kingdom!" Here's the basic syntax: Let's try creating a database for a fictional bookstore: When you run this command, SQL will create a new database called "my_bookstore". It's that simple! You've just created your first database.

  11. Some results have been removed
Refresh