MySQL Forums
Forum List  »  Newbie

SIMPLE CREATE TABLE FAILS
Posted by: GIDEON ISAAC
Date: October 21, 2011 06:22AM

I have a simple Create Table statement, and I checked it against mysql syntax examples. It should work (I think) but it doesn't.
Here it is:
USE events_afsi1sitea879257

CREATE TABLE IF NOT EXISTS 'calendar'(
'MyID' INTEGER NOT NULL AUTO_INCREMENT,
'theevent' VARCHAR(80) NULL,
'datehappens' (date) NOT NULL,
'location' VARCHAR(160) NULL,
'thelink' VARCHAR(80) NULL,
'description' VARCHAR(240) NULL,
PRIMARY KEY ('MyID')
)
Any help is appreciated

Options: ReplyQuote


Subject
Written By
Posted
SIMPLE CREATE TABLE FAILS
October 21, 2011 06:22AM
October 21, 2011 01:09PM


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.