MySQL Forums
Forum List  »  PHP

Re: PHP query CREATE statement won't create table, why?
Posted by: Peter Brawley
Date: December 01, 2014 11:06AM

Auto_increment column must be a key.

Mediumtext not midiumtext..

Other problems:

-- longtext and mediumtext are wasteful for strings that will be a couple of hundred chars long at most.

-- Hungarian casing is a bad idea in MySQL; case sensitivity can be an issue.



Edited 1 time(s). Last edit at 12/01/2014 11:06AM by Peter Brawley.

Options: ReplyQuote


Subject
Written By
Posted
Re: PHP query CREATE statement won't create table, why?
December 01, 2014 11:06AM


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.