Difference of character and charset

0

I'm getting some things in SQL, and sometimes I run into CHARSET and CHARACTER

For example:

create database teste 
default character set utf8;

And now, creating a table:

create table teste (
   teste varchar(30)
) DEFAULT CHARSET utf8;

Can you explain why?

    
asked by anonymous 15.04.2018 / 15:50

1 answer

2

The first one has two words, the second has only one:)

Seriously, there is no semantic difference, only syntactic.

    
15.04.2018 / 16:15