Enviado em 12/12/2010 - 20:09h
Olá, estou tendo um erro ao criar a tabela para meu banco de dados. Primeiramente, o código é este:
Código:
=====================================
create table Produtos (
codigo integer not null auto_increment,
nome varchar(40),
quant integer not null, );
=====================================
quando dou enter, recebo o erro:
ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that
corresponds to your MySQL server version for the right syntax to use near ')' at
line 5
Alguém sabe qual é o erro no código ?
Obrigado.
Código:
=====================================
create table Produtos (
codigo integer not null auto_increment,
nome varchar(40),
quant integer not null, );
=====================================
quando dou enter, recebo o erro:
ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that
corresponds to your MySQL server version for the right syntax to use near ')' at
line 5
Alguém sabe qual é o erro no código ?
Obrigado.