Using the following Syntax I tried to create a table in mySQL. However each
time it returned a mySQL error which I eventually worked out it was because
I'd defined a field as text. I am able to define fields as varchar, char,
int or float (I've tested for theses so far) but not text or blob.
The query was
CREATE TABLE products(prod_id int(4),prod_name text(30),prod_detail
varchar(255),prod_price float(6))
which returns the error there is an error in the syntax near
(30),prod_detail varchar(255),prod_price float(6)
I am running on Mac OS X with MySQL 3.23.39
Any of you kind people got an idea why?
regards
Geoff M
---------------------------------------------------------------------
Before posting, please check:
http://www.mysql.com/manual.php (the manual)
http://lists.mysql.com/ (the list archive)
To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php