Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> RE: Restricting the range of values in a field
Aidan,
please remember us when the list of "2-to-5 values that never change" change. and we tell you "we told you so".
and why do you care if the developer will get mad? he's wrong. you know, I know it and everyone on this list knows it.
foreign keys are the final answer.
that is all.
Tom Mercadante
Oracle Certified Professional
-----Original Message-----
Sent: Friday, January 31, 2003 4:27 AM
To: Multiple recipients of list ORACLE-L
>Yes. Read up on check constraints.
Thanks for everyone's suggestions and code. I'll go with the check constraint in this instance because 10-or-so lookup tables with 2-to-5 values in each that will never change seems like overkill. Plus, the other developer here isn't a fan of lookup tables where the range of values are known to be static and he'd shout at me ;-)
Thanks again!
-- Aidan Whitehall <aidanwhitehall_at_fairbanks.co.uk> Macromedia ColdFusion Developer Fairbanks Environmental Ltd +44 (0)1695 51775 ________________________________________________________________________ This e-mail has been scanned for all viruses by Star Internet. The service is powered by MessageLabs. For more information on a proactive anti-virus service working around the clock, around the globe, visit: http://www.star.net.uk ________________________________________________________________________ -- Please see the official ORACLE-L FAQ: http://www.orafaq.net -- Author: Aidan Whitehall INET: AidanWhitehall_at_Fairbanks.co.uk Fat City Network Services -- 858-538-5051 http://www.fatcity.com San Diego, California -- Mailing list and web hosting services --------------------------------------------------------------------- To REMOVE yourself from this mailing list, send an E-Mail message to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing). -- Please see the official ORACLE-L FAQ: http://www.orafaq.net -- Author: Mercadante, Thomas F INET: NDATFM_at_labor.state.ny.us Fat City Network Services -- 858-538-5051 http://www.fatcity.com San Diego, California -- Mailing list and web hosting services --------------------------------------------------------------------- To REMOVE yourself from this mailing list, send an E-Mail message to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing).Received on Fri Jan 31 2003 - 06:38:48 CST
![]() |
![]() |