| Oracle FAQ | Your Portal to the Oracle Knowledge Grid | |
Home -> Community -> Usenet -> comp.databases.theory -> Re: Nearest Common Ancestor Report (XDb1's $1000 Challenge)
> > XDb1's data/schema does allow each thing to have 0 to many
> > names while the provided solution's data/schema does not.
>
> Yeah right.
Yes, that is correct, in XDb1 dbs, each thing can have 0 to many
names. While the earlier versions do have errors in its NLI that
prevent one from accomplishing as such, one could have used the GUI or
API.
> 'john's name is johnnyboy.'
Older versions of XDb1 didn't process this correctly. In older versions, to accomplish similar via GUI:
Repeat above process to relate additional names to the person.
The node for the person, now displays "john jonah" instead of "john". To see each name individually as a child of the person, check "Name" in the View Menu. Reload by double-clicking him. One now sees:
Before After
------------------- ---------------------
thing thing
person person
john john jonah
john john
35 35
jonah
In XDb1, a name and that which it names are two separate things. With Parenthesis checked in the View Menu, the tree would appear as:
(thing)
(person)
(john)(jonah)
john
(35)
jonah
To add a name to a thing via API, one method is:
T_Val_relate(pJohn, pName_g, "jonah");
For additional info, see www.xdb1.com/Basic/Name.asp Received on Tue Jun 01 2004 - 16:44:11 CDT
![]() |
![]() |