MySQL Forums
Forum List  »  Newbie

Re: Error in creating table
Posted by: Arie Nagel
Date: August 22, 2005 07:38AM

Try 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 TEXT,
keyword TEXT,
addinfo TEXT
);

I added the backticks as suggested by Shantanu and the TEXT column type (which is also a BLOB type).

If you want to find out about BLOBS see here: http://dev.mysql.com/doc/mysql/en/blob.html

Hope this helps.

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
Re: Error in creating table
August 22, 2005 07:38AM
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.