hi everyone...
i'm trying to make my own guestbook, just to lern php and mysql better.
but when i'm using this SQL command, it returns a error! is there a difference between SQL used by Oracle and MySQL?
CREATE TABLE eintrag(
ein_id NUMBER NOT NULL,
ein_name VARCHAR2(20) DEFAULT 'Anonymus' NOT NULL,
ein_email VARCHAR2(50) DEFAULT 'Anonymus@anonym.net' NOT NULL,
ein_date DATE NULL,
ein_message VARCHAR2 NOT NULL);
this is the error msg:
You have an error in your SQL syntax near 'NUMBER NOT NULL,
ein_name VARCHAR(20) DEFAULT 'Anonymus' NOT NULL
)' at line 2
Thx so far....