| Oracle FAQ | Your Portal to the Oracle Knowledge Grid | |
Home -> Community -> Usenet -> comp.databases.theory -> Re: Decline of Science: Computer Science and Databases
Carl Rosenberger wrote:
> Leandro Guimarães Faria Corsetti Dutra wrote:
>
>>> Are the examples really that hard to read? >> >> Yes.
No. Since SQL is simple, logical and relatively concise. Compare that to your long-winded, complex statements.
> S.O.D.A. does have trade-offs at legibility due to the nature of the
> used OO language (Java) and due to the fact that we wanted to make it
> possible to plug existing objects into a query.
>
> Step 1: Constrain the query by any object. Constraint constraint =
> Query#constrain(anyComplexObjectHere);
>
> Step 2: Choose the comparator. constraint.greater();
This still doesn't explain the huge difference in both size and legibility. Also, an object AFAICU is but a value or variable, so should be represented as a normal, but complex and perhaps user-defined, type. No need to confound user with implementation details at the database level.
>> Just see that for all but two of the examples, your comments are >> actually much simpler, more logical SQL statements.
As I said, SQL is substandard. All this is implementation-dependent, and can be done quite easily inside the relational model.
> (5) SQL queries do not have a viewpoint, as in the last example.
Can you expand this?
>> And that given that SQL is already below relational standards.
So clearly it's not general-purpose, and not up to relational standards. So it's kind of off-topic in the context of this thread.
>> The other two are simple enough to be expressed in a relational >> system also much clearer.
Don't mix SQL and relational, please. Received on Mon Nov 04 2002 - 08:06:57 CST
![]() |
![]() |