Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Problems with SQL table creation

Status
Not open for further replies.

djnemisis

Programmer
Jan 31, 2006
1
GB
Hi I am using phpMyAdmin and a MYSQL db I have been trying to create a new table called picture however i keep getting an error from mysql and the table wont create. Here is the code that phpMyAdmin creates:

CREATE TABLE `picture` (`picid` INT NOT NULL, `name` VARCHAR, `size` VARCHAR, `type` VARCHAR, `use` VARCHAR, PRIMARY KEY (`picid`))

anyone know what is wrong the error provided gives no hints
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top