Search
 
SCRIPT & CODE EXAMPLE
 

SQL

delete database mysql

 DROP DATABASE dbname;
Comment

mysql drop database

DROP DATABASE ma_base
Comment

delete database mysql command

DROP DATABASE databasename
Comment

mysql delete database

DROP DATABASE dbname
Comment

query to delete a database in mysql

mysql> drop database `my-database`;
Comment

MySQL DROP DATABASE

The DROP DATABASE statement drops all tables in the database and deletes the database permanently. Therefore, you should be very careful when using this statement.

The following shows the syntax of the DROP DATABASE statement:

DROP DATABASE [IF EXISTS] database_name;



In MySQL, the schema is the synonym for the database, therefore, you can use them interchangeably:

DROP SCHEMA [IF EXISTS] database_name;
Comment

mysql database drop

mysql -e "DROP DATABASE db_name;"
Comment

how to delete database in mysql

DROP DATABASE databasename
 TO DELETE DATABASE
Comment

mysql remove database

mysql> drop database <db_name>;
Comment

drop database mysql

--The DROP DATABASE statement is used to drop an existing SQL database.
DROP DATABASE databasename;
Comment

PREVIOUS NEXT
Code Example
Sql :: sql get last inserted row 
Sql :: Get monday of week date is in SQL 
Sql :: insert current date in mysql 
Sql :: 3 days back in sql server 
Sql :: Check user permissions on postgres database 
Sql :: delete join select from one table based on multiple values 
Sql :: store select query result in variable sql server 
Sql :: Mysql Create table with foreign keys. 
Sql :: drop multiple columns in sql 
Sql :: update query with between in mysql 
Sql :: sql update where id 
Sql :: how to make a select in sql 
Sql :: vowels in sql 
Sql :: how to check table exists or not in postgresql 
Sql :: referential integrity constraint 
Sql :: postgre describe table 
Sql :: sql convert varchar to date 
Sql :: oracle apex warning message 
Sql :: postgres set null 
Sql :: do postgresql 
Sql :: desc in sql 
Sql :: postgresql get date now 
Sql :: oracle login as sysdba 
Sql :: csv into data postgres 
Sql :: get primary key of last inserted record sql server 
Sql :: add multiple row table pl sql 
Sql :: distinct sql 
Sql :: SQL Modify Column in a Table -PostgreSQL 
Sql :: insert snowflake 
Sql :: display all node label neo4j 
ADD CONTENT
Topic
Content
Source link
Name
9+2 =