Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.server -> Re: Oracle NULL vs '' revisited
"Ed Prochak" <edprochak_at_gmail.com> schreef in bericht news:1187663153.833953.174740_at_57g2000hsv.googlegroups.com...
> On Aug 17, 2:44 pm, "David Portas" > <REMOVE_BEFORE_REPLYING_dpor..._at_acm.org> wrote:
> > Oracle is not the only DBMS with this characteristic. > UNIFY DataServer has the same "feature". > > I don't agree that a string consisting of zero characters IS a value. > > Is "" logically different from " "? If I have a user filling out an on- > line form and they enter nothing into one of the fields, I would load > a NULL in the DB. Would you really try loading an empty string? What > would that mean exactly?? >
> > Only if "" carries some meaning. I for one don't think it has any > meaning outside a C program (where it is a one byte array initialized > with a zero byte value). If you really want "" then you likely want a > BLOB column. >
> > The compromises only are needed if you embue "" with some meaning. > Otherwise, life is good. > > ed > >
And even if "" had some meaning, life could still be good....
Shakespeare Received on Tue Aug 21 2007 - 03:18:33 CDT
![]() |
![]() |