Delete a Table or Database


/ Published in: SQL
Save to your folder(s)



Copy this code and paste it in your HTML
  1. #To DELETE a TABLE (the TABLE STRUCTURE, attributes, AND indexes will also be deleted):
  2.  
  3. DROP TABLE TABLE_NAME
  4.  
  5. #To DELETE a DATABASE:
  6.  
  7. DROP DATABASE database_name

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.