MySQL Forums
Forum List  »  German

Re: SQL Script bricht ab
Posted by: Marco Strigl
Date: June 22, 2012 05:43AM

Hi,

ich weiß nicht, ob das Thema noch aktuell ist, aber serial kannst du nichts mitgeben. Serial ist ein Alias: http://dev.mysql.com/doc/refman/5.1/de/numeric-type-overview.html

id serial8 not null --> id serial

Durch den Alias musst du das not null nicht angeben, da SERIAL für BIGINT UNSIGNED NOT NULL AUTO_INCREMENT UNIQUE steht.

Dann klappt es.

Gruß
Marco

Options: ReplyQuote


Subject
Views
Written By
Posted
2318
June 13, 2012 11:28PM
Re: SQL Script bricht ab
927
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.