Add schema for USE command.

This commit is contained in:
yrammos 2020-01-03 10:50:12 +02:00 committed by GitHub
parent 71a59adbca
commit 86918eb0c1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -5,11 +5,12 @@ layout: 2017/sheet
category: Databases
---
### Create / Delete Database
### Create / Open / Delete Database
```sql
CREATE DATABASE dbNameYouWant
CREATE DATABASE dbNameYouWant CHARACTER SET utf8
USE dbNameYouWant
DROP DATABASE dbNameYouWant
ALTER DATABASE dbNameYouWant CHARACTER SET utf8
```