关于mysql的default解决方案

WBOY
Release: 2016-06-13 12:33:31
Original
1026 people have browsed it

关于mysql的default
请问
CREATE DATABASE paging CHARACTER SET UTF8;

CREATE DATABASE paging DEFAULT CHARACTER SET UTF8;

都可以创建表,请问有什么区别吗?DEFAULT是可选的,具体有什么用意吗?

Syntax:
CREATE {DATABASE | SCHEMA} [IF NOT EXISTS] db_name
    [create_specification] ...

create_specification:
    [DEFAULT] CHARACTER SET [=] charset_name
  | [DEFAULT] COLLATE [=] collation_name

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template