Go Back  HTML Forums - Free Webmaster Forums and Help Forums > WEBSITE DEVELOPMENT > Databasing
User Name:
Password:
 

Reply
Thread Tools   Display Modes
  View First Unread
 
Old 01-07-2007, 03:49 PM
  #1
g-forcewebmedia
Paladin (Level 15)
 
g-forcewebmedia's Avatar
 
Join Date: Mar 2005
Location: Ontario, Canada
Posts: 410
iTrader: (0)
g-forcewebmedia is on a distinguished road
#1064 ERROR with table creation query

hello the following query

Code:
CREATE TABLE companyInfo (
	company						VARCHAR(100)	NOT NULL,
	employerType				VARCHAR(25)		NOT NULL,
	businessType				VARCHAR(50)		NOT NULL,
	employerProfile				TEXT(10000),
	website						VARCHAR(200),
	workWithRecruitingFirms		VARCHAR(3)		NOT NULL,
	numberEmployeesFull			VARCHAR(200),	
	numberEmployeesPart			VARCHAR(200),
	numberInterns				VARCHAR(200),	
	numberVolunteers			VARCHAR(200),
	profilePhone1				CHAR(3)			NOT NULL,
	profilePhone2				CHAR(3)			NOT NULL,
	profilePhone3				CHAR(4)			NOT NULL,
	profileFax1					CHAR(3),	
	profileFax2					CHAR(3),
	profileFax3					CHAR(4),
	profileToll1				CHAR(1),
	profileToll2				CHAR(3),
	profileToll3				CHAR(3),
	profileToll4				CHAR(3),
	profileToll5				CHAR(4),
	profileEmail				VARCHAR(200),	
	profileAddress1				VARCHAR(200)	NOT NULL,
	profileAddress2				VARCHAR(200),	
	profileCity					VARCHAR(200)	NOT NULL,
	profileProvince				VARCHAR(200)	NOT NULL,
	profilePostalCode			VARCHAR(200)	NOT NULL,
	profileCountry				VARCHAR(200)	NOT NULL,
	missionStatement			TEXT(10000),
PRIMARY KEY(company))
gave me this error
Quote:
#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 '(10000),
website VARCHAR(200),
workWithRecruitingFirms
__________________
g-forcewebmedia is offline   Add to del.icio.us Add to del.icio.us    Can you digg it?Can you digg it? Reply With Quote
Old 01-09-2007, 11:37 AM
  #2
RogerRamjet
Paladin (Level 15)
 
Join Date: Aug 2005
Posts: 350
iTrader: (0)
RogerRamjet is on a distinguished road
You do not specify column size with TEXT data type so remove the (10000) from your TEXT columns
RogerRamjet is offline   Add to del.icio.us Add to del.icio.us    Can you digg it?Can you digg it? Reply With Quote
Old 01-29-2007, 11:38 AM
  #3
g-forcewebmedia
Paladin (Level 15)
 
g-forcewebmedia's Avatar
 
Join Date: Mar 2005
Location: Ontario, Canada
Posts: 410
iTrader: (0)
g-forcewebmedia is on a distinguished road
oo ok thank you
__________________
g-forcewebmedia is offline   Add to del.icio.us Add to del.icio.us    Can you digg it?Can you digg it? Reply With Quote

Reply
KEEP TABS
SPONSORS
 
Boxedart



 
 


 
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
  
 
 
 



 
  POSTING RULES
 
 
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Thread Tools
Display Modes

Forum Jump

 

All times are GMT -5. The time now is 06:20 PM.

   

Mascot team created by Drawshop.com

Powered by vBulletin® Version 3.6.7
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.

Server Monitoring by ENIACmonitor 0.01
HTMLforums.com © Big Resources, Inc. Web Design by BoxedArt.com
vRewrite 1.5 beta SEOed URLs completed by Tech Help Forum and Chalo Na.