MySQL incorrect syntax

I have been using a dev dreams tutorial, but i have a syntax error 1064 when ever run the sql script or input at the mysql monitor, the error is on two coll's 'id' INT(5) and 'date_expire' VARCHAR (10) can anyone see what's wrong?

CREATE TABLE 'members' (
'id' INT(5) UNSIGNED DEFAULT '0' NOT NULL AUTO_INCREMENT,
'member_id' VARCHAR(11) DEFAULT '000-000-000' NOT NULL ,
'name' VARCHAR(75) NOT NULL ,
'email' VARCHAR(50) NOT NULL ,
'username' VARCHAR (20) NOT NULL ,
'password' VARCHAR (15) NOT NULL ,
'date_signed' VARCHAR (10)  DEFAULT '00/00/0000' NOT NULL ,
'date_expire' VARCHAR (10) DEFAULT '00/00/0000' NOT NULL ,
PRIMARY KEY ('id') ,
INDEX ('date_signed' ,'date_expire') ,
UNIQUE ('member_id')
)
TYPE = MYISAM ;

Comments

Sign In or Register to comment.