SQL Drop Database

OBJECTIVE

In this chapter you will learn:

About drop database
Syntax of drop database
Example of drop database

 

About drop database

SQL drop database statement is used to delete database from the memory. When you delete the database all records of that database also deleted.

 

Syntax of drop database

Example of drop database

 

drop database screen shot
Guide:-

Since you have dropped database so if you will try to use the database which is deleted then you will get the error message whcih is also given for your better guide-

result of deleted database

SUMMARY

In this chapter you have learned about drop database statement to delete the existence of database. In the next chapter you will learn about create table.


Leave a Reply

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