Hi.
You can use an ENUM column type assuming the numerical range is less than
65535 numbers.
http://www.mysql.com/doc/E/N/ENUM.html
-ravi.
-----Original Message-----
From: dboothe@stripped [mailto:dboothe@stripped]
Sent: Tuesday, March 20, 2001 11:05 AM
To: mysql@stripped
Subject: Second Request - Limit Filed Input
Is there a way in MySQL to limit the values that a (numeric) field can hold.
For example if I want a given field to only have the values 1 - 10 can I do
this and can it be done in the definition of the field when the table is
created?
---------------------------------------------------------------------
Before posting, please check:
http://www.mysql.com/manual.php (the manual)
http://lists.mysql.com/ (the list archive)
To request this thread, e-mail <mysql-thread68856@stripped>
To unsubscribe, e-mail <mysql-unsubscribe-ravi=webdream.com@stripped>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php