Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

MySql problem

Name: Anonymous 2010-07-22 6:10

Hi /prog/,

A MySQL noob needs some help here. I tried searching everywhere but it seems I cannot formulate my search expression correctly(English is not my first language). So the problem is. I want to limit the values that can be inserted in a column to certain possibilities. For example: I have a column phone_type and I want the only possible values there to be Work, Mobile, General and Fax. Any ideas? Sorry if this is too simple!

Name: Anonymous 2010-07-22 21:06

>>15
Well, it depends on your point of view.
MyISAM, which is the default engine MySQL uses, supports none of these things and never will. InnoDB supports a few features MyISAM doesn't (including foreign keys, I thought), but is a buggy, unstable piece of shit that's even more likely to fuck up your data than MyISAM; its only purpose is to serve as something MySQL fanboys can point to when sensible people point out MySQL is a joke of a RDBMS.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List