Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.misc -> Re: NULL or 0 for a "FLAG_COLUMN"
On 06.09.2006 17:23 Martin T. wrote:
>> NULL means "undefined". >> I would _never_ use it to represent an actual "meaningful" value. >> >> So, I would always choose option a) together with a check constraint >> only allowing for 0,1 as the value. >>
Please, take Brian's answer into account as well. He has a very good point about letting the business requirements drive your database model.
Thomas
-- It's not a RootKit - it's a SonyReceived on Wed Sep 06 2006 - 10:27:43 CDT
![]() |
![]() |