Re: What gives data meaning?



On 4 Apr 2007 10:47:47 -0700, frebe wrote:

But to the point, if a program was able to store improperly-formatted
zipcode inside the DB then whose fault is that?

what's an improperly formatted zipcode? In the US, you have 5 digits,
in the netherlands you have 4 digits and 2 characters. A zipcode of
1234 AA is properly formatted for a dutch user of the application, but
not correctly formatted for the US user of the program. Hence: context.

This thus means that if the db stores '1234AA', it can do so, and the
dutch user will happily use it. The US user can't because for the US
user it's just data, 1234 and 2 characters, it's not information
(zipcode).

If you think about it, neither zip code means anything to the database.
They're simply characters in a field.

With a proper type system or check contraints, a RDBMS could guarantee
that no invalid zip codes are stored into the database.

Where the types are stored?
[...]

This reinforces the DB can be responsible for structural, type, and
referential integrity, but it can not give meaning to its data.

A RDBMS can give meaning to its data in the same way as an application
can give "meaning" to its data.

No. RDBMS to application is like CPU.

CPU cannot give any meaning to anything. Neither RDBMS can.

--
Regards,
Dmitry A. Kazakov
http://www.dmitry-kazakov.de
.



Relevant Pages

  • Re: The Weak Link
    ... would know unless they specifically studied kanji etymology. ... > Particularly if they were a native Japanese TA -- the way kanji are ... used characters. ... > expect a phonetic component to express the same meaning in multiple ...
    (sci.lang.japan)
  • Re: Transmission of meaning
    ... characters) a meaning is immediately present in one's mind. ... language can see the characters and know the meaning. ... Chinese vocabulary. ...
    (sci.lang.japan)
  • Re: refactor + help
    ... I'm was messing around with PHP today and I wrote a tiny app that asks ... If your zipcode is less than 5 characters, ... it asks you too enter a zip code with the proper amount of characters. ... the page is sent to the client. ...
    (comp.lang.php)
  • Re: cons to the same object
    ... It has a fully portable meaning, just not the meaning we may ... _all_ values in Common Lisp do have proper object identity ... which are immutable (namely, numbers and characters), the ... implementor enough design freedom to produce exceptionally efficient ...
    (comp.lang.lisp)
  • Re: puer, what happened to the "h"?
    ... or the brute force of learning the meaning of roughly ... English speaker. ... characters when you're not given any kind of transliteration system ... gift for spelling. ...
    (rec.food.drink.tea)