MySQL Forums
Forum List  »  Newbie

Re: Error in creating table
Posted by: Shantanu Oak
Date: August 19, 2005 08:05AM

since desc is a reserved word, use any other name or use backticks like this...

CREATE TABLE new_jobs
(
ID INT NOT NULL AUTO_INCREMENT,
PRIMARY KEY(ID),
`desc` VARCHAR(60),
refno VARCHAR(15),
field VARCHAR(30),
qual VARCHAR(30),
exp VARCHAR(20),
locate VARCHAR(20),
posted VARCHAR(10),
type VARCHAR(10),
detail VARCHAR(1000),
keyword VARCHAR(500),
addinfo VARCHAR(1000)
);

Options: ReplyQuote


Subject
Written By
Posted
August 17, 2005 03:22AM
August 17, 2005 03:24AM
August 17, 2005 03:29AM
August 17, 2005 01:23PM
August 19, 2005 11:58PM
August 22, 2005 07:38AM
Re: Error in creating table
August 19, 2005 08:05AM


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.