SQL Create Database

In this chapter you will learn:
About create database
Syntax of create database
Example of create database

About create database

The SQL statement create database is used to create the user defined database. SQL server provides the facility to create your own database so you can use this command.

Syntax of create database

create database database_name

Example of create database

create database university

Guide:-

If you will write the given statement in SQL Server and execute/run then it will give a message that "command completed successfully". Screen shot is given below for your better guide-

create database output
SUMMARY

In this chapter, you have learned about creating a database with an example so now you can create your own database to store the records. In the next chapter you will learn about rename database.

More Articles

 

Share your thought



PLEASE DISABLE ADBLOCKER AND SUPPORT US!

Please support us by enabling ads on this page. Refresh

YOU DON'T LIKE ADS, WE ALSO DON'T LIKE ADS!
 
But we have to show ads on our site to keep it free and updated. We have to pay huge server costs, domain costs, CDN Costs, Developer Costs, Electricity and Internet Bill. Your little contribution will encourage us to regularly update this site.