How to delete a table with all its concepts in SQL or MySQL?

How to delete a table with all its concepts in SQL or MySQL?

DROP TABLE `database_name`.`table_name` will delete the mentioned table from the database along with all its contents. Use this statement very carefully as often beginners make similar mistake which costs them dearly.
 

Leave a comment

Filtered HTML

  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <blockquote> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Lines and paragraphs break automatically.

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.