telconstar99
01-13-2007, 01:42 AM
Hey guys,
I'm having some trouble adding a comment to a table. I've never done this before so maybe I'm missing something. I thought maybe you guys could help. I'm running mySQL version 4.1. Thanks so much!
CREATE TABLE devotionals
(
id int NOT NULL auto_increment PRIMARY KEY,
Name varchar(255),
FileUpload varchar(255)
) COMMENT = 'devotionals';
The error message I receive is this:
CREATE TABLE devotionals ( id int NOT NULL auto_increment PRIMARY KEY, Name varchar(255), FileUploadRestricted varchar(255) ) COMMENT = 'devotionals';
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ''devotionals'' at line 6
I'm having some trouble adding a comment to a table. I've never done this before so maybe I'm missing something. I thought maybe you guys could help. I'm running mySQL version 4.1. Thanks so much!
CREATE TABLE devotionals
(
id int NOT NULL auto_increment PRIMARY KEY,
Name varchar(255),
FileUpload varchar(255)
) COMMENT = 'devotionals';
The error message I receive is this:
CREATE TABLE devotionals ( id int NOT NULL auto_increment PRIMARY KEY, Name varchar(255), FileUploadRestricted varchar(255) ) COMMENT = 'devotionals';
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ''devotionals'' at line 6