MySQL Forums :: Newbie :: Poblem with a create table Query


Advanced Search

Poblem with a create table Query
Posted by: Zulfi Khan ()
Date: October 17, 2014 12:53PM

Hi,
I am using windows 7. I have written a following query but its not working. It gives error saying check your manual.
mysql> create table Users(Id int(10) unsigned NOT NULL auto_increment, emailaddr
varchar(128) NOT NULL default '',Password varchar(128) NOT NULL default '', fir
stname varchar(128) NOT NULL default '', lastname varchar Not NULL default '', a
vflag int(2) unsigned, dob varchar (10) NOT NULL default '', propic varchar (12
8) NOT NULL default '', aboutme varchar (128) NOT NULL default '', Primary key(I
d));

ERROR 1064 (42000): 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 'Not N
ULL default '', avflag int(2) unsigned, dob varchar (10) NOT NULL default ' at
line 1
mysql>


Somebody please guide me with this error.

Zulfi.

Options: ReplyQuote


Subject Written By Posted
Poblem with a create table Query Zulfi Khan 10/17/2014 12:53PM
Re: Poblem with a create table Query Peter Brawley 10/17/2014 08:05PM
Re: Poblem with a create table Query Zulfi Khan 10/18/2014 12:00PM
Re: Poblem with a create table Query Peter Brawley 10/18/2014 12:05PM
Re: Poblem with a create table Query Zulfi Khan 10/18/2014 12:18PM
Re: Poblem with a create table Query Rick James 10/18/2014 12:47PM
Re: Poblem with a create table Query Zulfi Khan 10/19/2014 09:47AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.