Jump to content
Fórum Script Brasil

Question

create database Cadastro
default character set utf8
default collate utf8_general_ci;

create table `Cliente`     (
`id` int not null auto_increment,
`nome` varchar(30) not null,
`nascimento` date,
`sexo` enum ('M','F'),
`peso` decimal (2,3),
`altura` decimal (2,3),
`nacionalidade` varchar(20) default 'Brasil',
primary key (id)
)default charset = utf8;

 

Galera algum sabe me dizer aonde está o error? já fiz de tudo para cadastra a tabela, mas ela diz que está dando erro, por favor respondam mais rápido.

Link to post
Share on other sites

1 answer to this question

Recommended Posts

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



  • Forum Statistics

    • Total Topics
      148692
    • Total Posts
      644525
×
×
  • Create New...