How to delete a table in MariaDB’s database?


Please explain why do you think this question should be reported?

Report Cancel

For delete a table from a database in MariaDB DROP TABLE command is used. It deletes the table for permanently and can’t be recovered. You should have DROP benefit for each table. Every table data and the table definitions are removed, and in addition triggers related with the table so exceptionally watchful with this statement!
If any of the tables named in the argument list don’t exist, MariaDB restores an error showing by name which not existing tables it was not unfit to drop, but rather it additionally drops all the tables in the list that exists. Syntax:
DROP TABLE table_name ;

Please follow and like us:

About the Author