SQL Drop Database

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

drop database database_name

Example of drop database

  drop database collage
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 the database. In the next chapter you will learn about create table.

More Articles

 

Share your thought