萬盛學電腦網

 萬盛學電腦網 >> 數據庫 >> mysql教程 >> mysql sql刪除數據庫命令

mysql sql刪除數據庫命令

DROP DATABASE <database>
 
SHOW DATABASES;
CREATE DATABASE myDatabase;
SHOW DATABASES;
drop database myDatabase;
SHOW DATABASES;
 
常見問題解決

DROP
老是說 mysql教程> drop second;
ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that
corresponds to your MySQL server version for the right syntax to use near 'secon
d' at line 1
不知道是什麼出了問題

drop table  second;

mysql 沒用過,sql都應該差不多,不知道對不.

copyright © 萬盛學電腦網 all rights reserved