Re: Boolean Naming Conventions
Ok, so then what if your target audience is non-English, maybe they
understand Da and Nyet ? So now they are all confused aboiut this Y / N
thingy when it really should be D and N, duh ! I guess in my opinion if
people can't understand 1 and 0 they probably shouldn't be accessing the
database at all. As a db Admin that would make me very nervous.
JIM
"Aaron [SQL Server MVP]" <ten.xoc@dnartr eb.noraa> wrote in message
news:OqGJB5dZEH A.3512@TK2MSFTN GP12.phx.gbl...[color=blue][color=green]
> > Yuck ! why not simply use bit. ?? I mean if it is only for the
> > programmers then a bit 1 or 0 makes more sense[/color]
>
> It's NOT always for the programmers. Bean-counters, slack-jaws, etc.[/color]
don't[color=blue]
> know what 1 and 0 mean. Y or N (or T or F) often make more sense to them.
> And yes, you could do this with views, but that might mean a lot of extra
> code, depending on how many such columns you have.
>[color=green]
> > Theoretically a Char(1) can contain other characters beside Y or N so[/color][/color]
now[color=blue][color=green]
> > you need all kinds of overhead to verify data integrity[/color]
>
> You also need this on BIT if you don't want to allow NULL; I don't see a
> huge difference here, except the constraint is slightly different.
>
> --
> http://www.aspfaq.com/
> (Reverse address to reply.)
>
>[/color]
Ok, so then what if your target audience is non-English, maybe they
understand Da and Nyet ? So now they are all confused aboiut this Y / N
thingy when it really should be D and N, duh ! I guess in my opinion if
people can't understand 1 and 0 they probably shouldn't be accessing the
database at all. As a db Admin that would make me very nervous.
JIM
"Aaron [SQL Server MVP]" <ten.xoc@dnartr eb.noraa> wrote in message
news:OqGJB5dZEH A.3512@TK2MSFTN GP12.phx.gbl...[color=blue][color=green]
> > Yuck ! why not simply use bit. ?? I mean if it is only for the
> > programmers then a bit 1 or 0 makes more sense[/color]
>
> It's NOT always for the programmers. Bean-counters, slack-jaws, etc.[/color]
don't[color=blue]
> know what 1 and 0 mean. Y or N (or T or F) often make more sense to them.
> And yes, you could do this with views, but that might mean a lot of extra
> code, depending on how many such columns you have.
>[color=green]
> > Theoretically a Char(1) can contain other characters beside Y or N so[/color][/color]
now[color=blue][color=green]
> > you need all kinds of overhead to verify data integrity[/color]
>
> You also need this on BIT if you don't want to allow NULL; I don't see a
> huge difference here, except the constraint is slightly different.
>
> --
> http://www.aspfaq.com/
> (Reverse address to reply.)
>
>[/color]
Comment