master
Artem Dolgiy 2025-01-22 12:32:59 +03:00
parent 6097bd38ad
commit ea40e60bfb
1 changed files with 2 additions and 2 deletions

View File

@ -66,7 +66,7 @@ CREATE DATABASE IF NOT EXISTS sape_test_db;
При её удалении полачал ошибку
```shell
mysql> drop database 'sape_test_db';
mysql> drop database 'sape_test_db.db';
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 ''sape_test_db.db'' at line 1
```
@ -75,7 +75,7 @@ ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that
при использовании в названии зарезервированных слов, следует заключать имя БД в косые ковычки `
```shell
mysql> drop database `sape_test_db`;
mysql> drop database `sape_test_db.db`;
Query OK, 0 rows affected (0,17 sec)
```