[MySQL] #1062 - Duplicate entry '1' for key 'PRIMARY' Help me!
#6

Like you said, another error comes when you have made.

Quote:

SQL sorgusu:

--
-- Veritabanı: `newyorkrpg`
--
-- --------------------------------------------------------
--
-- Tablo iзin tablo yapısı `aracanahtarlar`
--
CREATE TABLE IF NOT EXISTS `aracanahtarlar` (

`SiraNo` INTEGER PRIMARY KEY AUTOINCREMENT,
`AracID` int( 11 ) NOT NULL ,
`SQLID` int( 11 ) NOT NULL ,
PRIMARY KEY ( `SiraNo` ) ) ENGINE = InnoDB DEFAULT CHARSET = latin1 AUTO_INCREMENT =5;



MySQL зıktısı:

#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 'AUTOINCREMENT,
`AracID` int(11) NOT NULL,
`SQLID` int(11) NOT NULL,
PRIMARY KEY ' at line 12

Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)