Re: Create primary Key
If you insist on using reserved word as column name, use ` (backtick) near TAB key.
For e.g.
CREATE TABLE IF NOT EXISTS are (
DsetId bigint(10) default NULL,
SecId bigint(10) default NULL,
AreItmId bigint(10) default NULL,
LayerId int(2) default NULL,
FeatClass int(4) default NULL,
SplitInd char(1) default NULL,
NrFaces bigint(10) default NULL,
NrAttSets int(10) default NULL,
DummyFeat char(1) default NULL,
`primary` int(10) NOT NULL auto_increment,
PRIMARY KEY (`primary`),
KEY Area (AreItmId),
KEY Feat (FeatClass)
) TYPE=MyISAM;
Subject
Written By
Posted
Re: Create primary Key
May 02, 2005 06:48AM
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.