• SQL Create Database – SQL TUTORIAL | Software Testing Material

    SQL Create Database:

    The SQL CREATE DATABASE statement is used to create new SQL database

    Syntax:

    Note: Always database name should be unique within the RDBMS.

    Also Read: SQL Create Table

    Example:

    I am creating a Database say TestDB

    Note: Make sure you have admin privilege before creating any database.

    SQL Create Database

    To see the list of databases, use the following syntax. We see list of Select Queries in other post in detail.

    We have created a Database named ‘TestDB’. In the below image, we could find the list of Databases based on the above query. In the list of Databases, we could find the database ‘TestDB’ which we have created.

    SQL Show Database

    In the next tutorial, we will see How To Create A Table In SQL

    Check out the complete SQL Tutorial by clicking on below link:

    SQL Tutorial – Complete

    Sharing is caring.

    Share on facebook
    Facebook
    Share on twitter
    Twitter
    Share on linkedin
    LinkedIn

    Like This Post?

    We have a lot more where that came from?

    We only send really good stuff occasionally, promise.

    Rajkumar SM

    Leave a Comment

    Your email address will not be published. Required fields are marked *

    Share on facebook
    Share on google
    Share on twitter
    Share on linkedin
    Share on whatsapp

    Recent Posts:

    Scroll to Top
    API Testing eBook

    DOWNLOAD FOR FREE