Re: relations aren't types?

From: Bob Badour <>
Date: Sat, 27 Dec 2003 01:28:38 -0500
Message-ID: <>

"Marshall Spight" <> wrote in message


> "Joe "Nuke Me Xemu" Foster" <joe_at_bftsi0.UUCP> wrote in message
> >
> > Interoperability with programs written in static-typed languages
> > would be a concern, as would the problem of declaring constraints.
> Hmmm. I'm not sure I see it. Right now, the type system of
> the application language and the type system of the database
> are only marginally related, and one usually goes through
> an API such as ODBC to communicate. That API doesn't
> give you much in the way of static typing.
> As far as constraints, isn't saying "column A has type int"
> a constraint?

What would type would the result of a join have? And a union? And an intersection? Would the degree operation mean anything? Yes, attribute data types constrain relvars. The relational model requires certain miminal constraints for all relvars: a relvar name, named/typed attributes and one or more candidate keys.

The points you raise regarding APIs and ODBC only convince me we need better application programming languages. Received on Sat Dec 27 2003 - 07:28:38 CET

Original text of this message