This is a discussion on how to define new dataypes within the MySQL forums, part of the Database Server Software category; --> Hello, I would like to define a new datatype, the datatype gender should only include either m or f. ...
| |||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| On Mon, 24 Jul 2006 11:10:11 +0800, Dennis Kuntzemann wrote: > Hello, > > I would like to define a new datatype, the datatype gender should only > include either m or f. how can i do this? See "Enumerated Type" http://dev.mysql.com/doc/refman/5.0/en/enum.html for information as to how to do this. -- Whenever you look at a beautiful woman, always remember that somewhere, someone is tired of her. |