Re: Selecting Multivalues
- From: "Anthony Lauder" <anthony.lauder@xxxxxxxxx>
- Date: 10 Jul 2006 07:13:55 -0700
dawn wrote:
I only saw a single association in your example. Do the suggestions on
how to handle the example given work or not? Are you saying that the
solutions provided work, but your actual case is different from the
example so that it doesn't work there? If so, could you provide a new
example?
You are right, my initial example led to suggestions that were too
specific. I need a solution that will allow more than one multivalued
association to exist in the file and in the query, and BY-EXP flattens
things out incorrectly if I have more than one association present.
Of course. Similarly, those working with C++ who are asked to write
JavaScript; or those writing VB who are asked to write Java. It should
come as no surprise that people like what they know and use and roll
their eyes at what they don't.
I am not sure about that. Many of my friends in the Java world would
much rather be using Smalltalk or Lisp or Ruby - which they see as
superior to Java in many ways. For the most part, I think they give
things a fair(ish) evaluation before rolling their eyes.
Have you ever seen a desired query against an SQL dbms have no simple
solution?
Well, the question is whether or not the language is complete - whether
you can express everything you want to say. SQL is not perfect, but it
does express all the queries I could want against a relational DB. My
gripe is that the Pick query language does not support well the
underlying model of multivalues.
then I have to concede to their arguments that
Pick's multi-values are holding me back rather than helping me.
That is a very surprising conclusion. Do the Java developers have an
excellent means of performing such a query against objects that hold
the same data you are discussing here? Is Java's ability to hold an
array value holding the developers back rather than helping them?
No, but that would lead to another argument about collection types,
which I don't want to get into here, other than to say that Pick cannot
distinguish between an empty dynamic array, and a dynamic array with
one attribute which itself happens to be empty. This frustrates me
greatly - and I have seen some very nasty hacks in BASIC application
code to get around this deficiency. Anyway, that is a different
argument from the one here.
.
- Follow-Ups:
- Re: Selecting Multivalues
- From: Glen B
- Re: Selecting Multivalues
- From: dawn
- Re: Selecting Multivalues
- References:
- Selecting Multivalues
- From: Anthony Lauder
- Re: Selecting Multivalues
- From: slp
- Re: Selecting Multivalues
- From: Anthony Lauder
- Re: Selecting Multivalues
- From: dawn
- Selecting Multivalues
- Prev by Date: Re: Selecting Multivalues
- Next by Date: Re: Selecting Multivalues
- Previous by thread: Re: Selecting Multivalues
- Next by thread: Re: Selecting Multivalues
- Index(es):
Relevant Pages
|