![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Along with the above ad, I do have a question. If you want to LIST an attribute value from an attribute in a file other than the one in your LIST statement, what are the options for syntax in the dictionary and the LIST statement? LIST MY_FILE MY_FILE_ATTRIBUTE THAT_OTHER_FILE_ATTRIBUTE For example, in UniQuery, you add an I-desc named THAT_OTHER_FILE_ATTRIBUTE with a TRANS using a value from MY_FILE as a foreign key to THAT_OTHER_FILE. In D3, I think you use a TFILE (in an F correlative, or something like that) and suspect I can find the exact syntax for that. Are there other ways to do this in various flavors of the Pick Query language? |
#3
| |||
| |||
|
|
Hi Dawn, In keeping with the USENET way, I haven't read your article yet but: Along with the above ad, I do have a question. If you want to LIST an attribute value from an attribute in a file other than the one in your LIST statement, what are the options for syntax in the dictionary and the LIST statement? LIST MY_FILE MY_FILE_ATTRIBUTE THAT_OTHER_FILE_ATTRIBUTE For example, in UniQuery, you add an I-desc named THAT_OTHER_FILE_ATTRIBUTE with a TRANS using a value from MY_FILE as a foreign key to THAT_OTHER_FILE. In D3, I think you use a TFILE (in an F correlative, or something like that) and suspect I can find the exact syntax for that. Are there other ways to do this in various flavors of the Pick Query language? This does not answer your question, I will leave that to Chandru or one of the other gurus but if I may offer a suggestion: The concept of dictionaries is something that IMHO is a key factor in the superiority of the MV's over SQL and similar query systems. This is a huge part of the ability to create more ... ehrm, elegant? queries. |
|
Long after this was a standard part of the GIRLS family (to use your phrase), the relational folks began to jury-rigged the idea of "views" into their systems. The dictionary approach gives much more flexibility and power and I think is easier to comprehend and use. Oh, that's sort of what MV is about, isn't it? <g |
#4
| |||
| |||
|
|
Tom deL wrote: Hi Dawn, In keeping with the USENET way, I haven't read your article yet but: Along with the above ad, I do have a question. If you want to LIST an attribute value from an attribute in a file other than the one in your LIST statement, what are the options for syntax in the dictionary and the LIST statement? LIST MY_FILE MY_FILE_ATTRIBUTE THAT_OTHER_FILE_ATTRIBUTE For example, in UniQuery, you add an I-desc named THAT_OTHER_FILE_ATTRIBUTE with a TRANS using a value from MY_FILE as a foreign key to THAT_OTHER_FILE. In D3, I think you use a TFILE (in an F correlative, or something like that) and suspect I can find the exact syntax for that. Are there other ways to do this in various flavors of the Pick Query language? This does not answer your question, I will leave that to Chandru or one of the other gurus but if I may offer a suggestion: The concept of dictionaries is something that IMHO is a key factor in the superiority of the MV's over SQL and similar query systems. This is a huge part of the ability to create more ... ehrm, elegant? queries. Agreed. My next entry will talk about one aspect of this. Some features are 1) It is an extensible descriptive (rather than prescriptive) schema 2) You can create synonyms, or describe data with different "conversions" 3) It is a vocabulary for the user wanting to ask about this 1 entity 4) You can change a field from describing stored data to derived data without changing queries. You can change a field from single to multi-valued or vice-versa without breaking queries. The draft of my next blog entry (not this one) makes an analogy to Mary Poppin's carpet bag from which you can pull out things that clearly didn't fit in a narrowly-defined container. If anyone has any other or better analogies, I'm all ears. Long after this was a standard part of the GIRLS family (to use your phrase), the relational folks began to jury-rigged the idea of "views" into their systems. The dictionary approach gives much more flexibility and power and I think is easier to comprehend and use. Oh, that's sort of what MV is about, isn't it? <g Yup. Cheers! --dawn |
#5
| |||
| |||
|
|
I just posted the first in a series where I will compare features of the Pick query language, which I decided to refer to as GIRLS, with SQL. |
#6
| |||||
| |||||
|
|
Agreed. My next entry will talk about one aspect of this. Some features are 1) It is an extensible descriptive (rather than prescriptive) schema |
|
2) You can create synonyms, or describe data with different "conversions" |
|
4) You can change a field from describing stored data to derived data without changing queries. |
|
You can change a field from single to multi-valued or vice-versa without breaking queries. |
|
The dictionary approach gives much more flexibility and power and I think is easier to comprehend and use. |
#7
| |||
| |||
|
|
But the ability to define a dict entry that may not be true - an index on a translation for instance - and the ability to assault ANY file, including dicts, with the editor are just two of many worm holes that make GIRLS a very dangerous system to use. |
|
It is absolutely amazing how many very good applications exist despite these traps. |
|
What I'm really trying to say is simply that our superior system is only superior in the eyes of the programmer or his boss and only because the missing constraints make it possible to produce programs very fast and therefore very cheap. |
#8
| ||||||
| ||||||
|
|
dawn wrote: I just posted the first in a series where I will compare features of the Pick query language, which I decided to refer to as GIRLS, with SQL. Compare features, or come up with highly contrived examples to show SQL in the worst light possible? Your self admission of being "rusty" when it comes to SQL hardly makes your blog entry an informed one. |
|
No, I'm not going to submit a design for a SQL pizza management system. |
|
Many of your posts follow the same pattern. "Hey all. What do you think of this?" There's never really seems to be any point to your information gathering. |
|
It does not appear that you are working on a project or have any specific problem to solve. |
|
I guess I just don't "get it". |
|
The sheer volume of the posting you do in this and other newsgroups leads me to believe that perhaps you have a little too much free time on your hands. |
#9
| |||
| |||
|
#10
| |||
| |||
|
|
dawn wrote: I just posted the first in a series where I will compare features of the Pick query language, which I decided to refer to as GIRLS, with SQL. Compare features, or come up with highly contrived examples to show SQL in the worst light possible? Your self admission of being "rusty" when it comes to SQL hardly makes your blog entry an informed one. No, I'm not going to submit a design for a SQL pizza management system. Many of your posts follow the same pattern. "Hey all. What do you think of this?" There's never really seems to be any point to your information gathering. It does not appear that you are working on a project or have any specific problem to solve. I guess I just don't "get it". |

|
The sheer volume of the posting you do in this and other newsgroups leads me to believe that perhaps you have a little too much free time on your hands. P.S. Dawn, there are rumors Kevin can be a bit grumpy. Now mind you |

|
-- Kevin Powick |
![]() |
| Thread Tools | |
| Display Modes | |
| |