Re: No exceptions?



J M Davitt wrote:
paul c wrote:
J M Davitt wrote:

paul c wrote:

Bob Badour wrote:
...
Maybe instead of saying "defining a header", I should have said "in advance of entering a header". I had in mind that an "empty" header would be assumed.

Empty heading: like DEE and DUM have empty headings?
...

Yes. (Sorry, I should have said heading instead of header.)


My peculiar view doesn't require me to ask "what is the predicate of such and such a relation". This will sound ridiculous to most people I think because one would ask "well, what good is a database whose predicates we don't know?". OTOH, one aspect that for me defines a relational engine is precisely that it must not circumscribe even in the most indirect of ways what predicate a particular relation has, its whole value is in being to manipulate relations without knowing that - otherwise it would be an application!

Well, in that regard, it's already done -- in DEE ad DUM, no? And I
think it's correct - but somewhat confusing - if you want other names for those relation values.

(For a few years, I had trouble remembering which of DEE and DUM had a tuple and which didn't. Now whenever I forget, I just type the table names into google and up pops dbdebunk. I'm still not sure whether relations called TRUE and FALSE would cause confusion with the REAL TRUE and FALSE.)



It almost seems as though you want to declare an analogue for DUM,
syntax-check some expressions, and add attributes to your relation
with the confidence that your expressions are still correct.


Not exactly how I thought of it, but I think that's fair, after all, one can add attributes, subject to one's external conception, to relation definitions that don't have empty headings, in fact not that the observation is of any use, that seems to be what happens when one defines a relation with one attribute.

p
.



Relevant Pages

  • Re: TRUE and FALSE values in the relational lattice
    ... E * E: natural join ... the relation with empty header and a single empty tuple ... the equality relation with header ... So the syntax becomes: ...
    (comp.databases.theory)
  • HELP! how do i read in multiline data blocks?
    ... fgetl, etc., and trying out various things, but I am not succeeding. ... ONE HEADER LINE ... ONE EMPTY LINE ... I know I want a loop that goes through one datablock at a time, ...
    (comp.soft-sys.matlab)
  • Re: read text from file, a chunk of more lines at a time
    ... empty records). ... a Perl programmer would probably just read and ... If you discard the first header, but that record is empty, ...
    (comp.lang.lisp)
  • Re: No exceptions?
    ... with the confidence that your expressions are still correct. ... I suggest an empty candidate key in a relation with any number of attributes is closer. ... whether one adds one attribute or an arbitrary number of attributes is less important than the fact that the candidate key will have an empty set of attributes. ... While at the UI, I think most people would consider a spelling error an error, I would like, at a very low internal level, to ignore typo's of that sort, evaluate it as written, and give a result that is logically consistent. ...
    (comp.databases.theory)
  • Re: OT: Short Trip Report - Sams Town, Shreveport
    ... I wanted to play blackjack. ... majority of the empty tables were $5 minimum which was fine with me. ... the dealers at the empty tables had such sour expressions on their ... Had you played Blackjack, ...
    (alt.vacation.las-vegas)