Database, Table, and Column Definition with Character and collate : Create Database : Database MySQL TUTORIALS


MySQL TUTORIALS » Database » Create Database »

 

Database, Table, and Column Definition with Character and collate


mysql>
mysql> CREATE DATABASE myDatabase DEFAULT CHARACTER SET latin2 COLLATE latin2_czech_ci;
Query OK, row affected (0.02 sec)

mysql>
mysql> 
mysql>
mysql> USE myDatabase;
Database changed
mysql>
mysql> CREATE TABLE myTable
    -> (
    ->     c1 CHAR(10)
    -> );
Query OK, rows affected (0.03 sec)

mysql>
mysql> drop table myTable;
Query OK, rows affected (0.00 sec)

mysql>
mysql> drop database myDatabase;
Query OK, rows affected (0.00 sec)

mysql>
mysql> use test;
Database changed



Leave a Comment / Note


 
Verification is used to prevent unwanted posts (spam). .

Follow Navioo On Twitter

MySQL TUTORIALS

 Navioo Database
» Create Database