CREATING A DATABASE

For creating a New SQL Database, we can use the “CREATE DATABASE” statement.

SYNTAX 

Where,

  • CREATE DATABASE: KEYWORD used to create a database

  • DATABASE NAME:  The Name of the Database that you want to create.

 

Example

Let’s create a Demo Database say TestDb

Figure 3.1. Create Database

 

Note: You can always create a Database in your local but for other environments you might need Admin privileges.

PRACTICE YOURSELF

©2020 by Pavan Lalwani. 

  • Udemy
  • Facebook
  • Twitter
  • YouTube
  • Linkedin