Francis Posted April 7, 2008 Share Posted April 7, 2008 Look at that: Error SQL request: CREATE TABLE feedback( Name varchar( 30 ) , COMMENT longtext, commentDatedate( yy / mm / dd ) , commentTimetime( hh : mm : ss ) ) MySQL answered:Documentation #1064 - 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 '(yy/mm/dd), commentTime time(hh:mm:ss) )' at line 1 What is my problem? My query: CREATE TABLE feedback ( Name varchar(30), Comment longtext, commentDate date(yy/mm/dd), commentTime time(hh:mm:ss) ) Quote Link to comment Share on other sites More sharing options...
Barand Posted April 7, 2008 Share Posted April 7, 2008 use CREATE TABLE feedback ( Name varchar(30), Comment longtext, commentDate date, commentTime time ) Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.