Snippets

SQL Command to Create Database

Posted by I. B. Gd Pramana A. Putra, 11 Jul 22, last updated 11 Jul 22

To create a database with SQL command:

CREATE DATABASE mydatabase;

This SQL command to create a database can also be used in MySQL, PostgreSQL, MicrosoftSQL, SQL Lite and other SQL based RDBMS.

I love sharing code snippets as most of the time, a quick code example is what we're looking for instead of long-written articles. If you think my code snippets are helpful and save you a lot of time, please consider buying me a cup of coffee :)

Support me via · paypal · buymeacoffee · ko-fi · trakteer
Contributed Snippets
Answer & Responses
    No comments yet

Wanna write a response?

You have to login before write a comment to this post.