[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: Second Request - Limit Filed Input
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@xxxxxxxxxxxxxx [mailto:dboothe@xxxxxxxxxxxxxx]
Sent: Tuesday, March 20, 2001 11:05 AM
To: mysql@xxxxxxxxxxxxxxx
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@xxxxxxxxxxxxxxx>
To unsubscribe, e-mail <mysql-unsubscribe-ravi=webdream.com@xxxxxxxxxxxxxxx>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php
---------------------------------------------------------------------
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-thread68861@xxxxxxxxxxxxxxx>
To unsubscribe, e-mail <mysql-unsubscribe-treed=ultraviolet.org@xxxxxxxxxxxxxxx>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php
This mailing list archive is a service of Copilot Consulting.