Skip to content
Studyraft
Menu
  • About
  • Contact Us
  • Privacy Policy

Drop table if exists in MySQL

Jun 07 2022December 9, 2022

Below command will drop the table if exists in MySQL:

DROP TABLE IF EXISTS `YourTableName` 

Replace “YourTableName” with your table name which you want to be dropped.

Related Posts:

  • MySQL alter column data type
  • Check column data type in mysql
  • zsh: command not found: mysql
  • MySQL drop database if exists
  • Drop column if exists in MySQL
Jun 07 2022December 9, 2022

© 2023 Studyraft