phpbar.de logo

Mailinglisten-Archive

create TABLE
Archiv Mailingliste mysql-de

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

create TABLE



Martin Fischer writes:
 > mysql> create TABLE news (
 >     -> email VARCHAR (35) NOT NULL, 
 >     -> KEY index_name (name(10));
 > ERROR 1064: parse error near '' at line 3

key index_name (name)

 > mysql> create TABLE news (
 >     -> email VARCHAR (35) NOT NULL,
 >     -> );
 > ERROR 1064: parse error near ')' at line 3
 > mysql> CREATE TABLE news (
 >     -> email VARCHAR (35) NOT NULL,
 >     -> PRIMARY KEY (email),
 >     -> ;
 > ERROR 1064: parse error near '' at line 3

Lass das komma am Ende weg.

-- 
To avoid criticism, do nothing, say nothing, be nothing.
		-- Elbert Hubbard


Home | Main Index | Thread Index

php::bar PHP Wiki   -   Listenarchive