MySQL Forums
Forum List  »  German

SQL Script bricht ab
Posted by: Sven Eilers
Date: June 13, 2012 11:28PM

Hallo zusammen,

mein SQL-Script bricht mit folgendem Fehler ab:

0 07:19:17 create table domain(id not null,name varchar(255),storagelocation varchar(255),primary key (id)) Error Code: 1064. 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 'not null,name varchar(255),storagelocation varchar(255),primary key (id))' at line 1

create table domain
(
id serial8 not null ,
name varchar(255),
storagelocation varchar(255),
primary key (id)
)
lock mode row;

Habt ihr eine Idee woran das liegen kann, ich sehe gerade nicht den Fehler?

Options: ReplyQuote


Subject
Views
Written By
Posted
SQL Script bricht ab
2335
June 13, 2012 11:28PM
934
June 22, 2012 05:43AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.