chad nantais wrote:
i'm trying to create a table in mySQL. could someone please tell me why mySQL keeps telling me that this syntax is invalid:
CREATE TABLE bids (
auction varchar(13),
bidder varchar(13),
bid double(16,4),
when timestamp(14),
quantity int(11) DEFAULT '0'
);
thanks
I think the use of fieldname 'when' is not valid. It is a reserved keyword like
'table', 'select'.
Hopefully this will solve the problem.