On May 16, 2004, at 1:15 AM, Ron Gilbert wrote:


I have a table that is:

CREATE TABLE GPSData (
  ID int(10) unsigned NOT NULL auto_increment,
  Lat decimal(9,5) default '0.00000',
  Lon decimal(9,5) default '0.00000',
  TDate datetime default NULL,
  PRIMARY KEY (ID),
  UNIQUE KEY ID (ID),
  KEY ID_2 (ID)
) TYPE=MyISAM;



Why do you have a unique key on 'id' when you also have a primary key on 'id'? Primary keys are unique.


-- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe: http://lists.mysql.com/[EMAIL PROTECTED]



Reply via email to