Sasa Posted June 5, 2009 Report Share Posted June 5, 2009 (edited) Kļūdas paziņojums: Kļūda SQL vaicājums: CREATE TABLE `katalogs`.`accessories` ( `accs_id` BIGINT( 20 ) UNSIGNED NOT NULL NOT NULL AUTO_INCREMENT PRIMARY KEY, `product_id` BIGINT( 20 ) UNSIGNED NULL , `drillQty` SMALLINT( 10 ) UNSIGNED NULL , `edgeMatrlQty` DOUBLE( 10 ) NULL , `picture` VARCHAR( 200 ) NULL , PRIMARY KEY ( `accs_id` ) ) ENGINE = MYISAM MySQL teica: Dokumentācija #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 ') NULL, `picture` VARCHAR(200) NULL, PRIMARY KEY (`accs_id`)) ENGINE = MyISAM' at line 1 Edited June 5, 2009 by Sasa Quote Link to comment Share on other sites More sharing options...
bubu Posted June 5, 2009 Report Share Posted June 5, 2009 DOUBLE nav jānorāda gan M, gan D vai nu reizē, vai arī neviens no abiem? http://dev.mysql.com/doc/refman/5.1/en/num....html#id4158822 Quote Link to comment Share on other sites More sharing options...
Klez Posted June 6, 2009 Report Share Posted June 6, 2009 `accs_id` BIGINT( 20 ) UNSIGNED NOT NULL NOT NULL AUTO_INCREMENT PRIMARY KEY, Quote Link to comment Share on other sites More sharing options...
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.