From: Mike Krolewski <mkrolewski@rii.com>
Newsgroups: comp.databases.oracle.server
Subject: Re: Nested Tables?
Date: Fri, 02 Feb 2001 17:39:13 GMT
Organization: Deja.com
Lines: 35
Message-ID: <95erbv$9r6$1@nnrp1.deja.com>
References: <95ek4v$2ic$1@nnrp1.deja.com>
NNTP-Posting-Host: 63.75.139.178
X-Article-Creation-Date: Fri Feb 02 17:39:13 2001 GMT
X-Http-User-Agent: Mozilla/4.0 (compatible; MSIE 5.0; Windows NT; DigExt)
X-Http-Proxy: 1.1 x56.deja.com:80 (Squid/1.1.22) for client 63.75.139.178
X-MyDeja-Info: XMYDJUIDmikkrolewski


In article <95ek4v$2ic$1@nnrp1.deja.com>,
  jdorlon@my-deja.com wrote:
> Can anyone describe a scenario of when nested tables would be desired?
> They just seem so complicated to me that they are not worth the
> effort!  Am I missing something?
>
> Thanks!
>
> Sent via Deja.com
> http://www.deja.com/
>

Exactly. There are some possible uses -- that obviously could be done
other ways. One is a header and detail records. The idea is that one is
always looking at the detail with the header. Access speed is improved
as the detail rows are immediately accessible. Major problem is the
limit to the number of nested rows. A second issue is that your
business rules will change, and the reason to keep the detail
immediately close to the header will go away.

A significant use would be duplicating another system --> COBOL or ISAM
for instance where this structure is common. Useful in quickly
transferring from one system to another. IMHO not the best data design.

Practically, IMHO nested tables is a solution in search of a problem.

--
Michael Krolewski
Rosetta Inpharmatics
mkrolewski@rii.com
              Usual disclaimers


Sent via Deja.com
http://www.deja.com/

