I think two tables should suffice: ZKCOST and ZPRECMPL.

So you would have

ZKCOST
   zkcost_id,
   zkcost_value

and

ZPRECMPL
   zkcost_id,
   zprecmpl_id,
   zprecmpl_value

where zkcost_id is the primary key for ZKCOST and zkcost_id,
zprecmpl_id together are the primary key for ZPRECMPL and zkcost_id is
a foreign key from ZPRECMPL to ZKCOST.

That will work won't it?

-Aaron

On 6/12/06, Phillip Smith <[EMAIL PROTECTED]> wrote:

So you're suggesting creating a child table for each SYS record? Ie, a table called 
"ZPRECMPL" etc?

---------------------------(end of broadcast)---------------------------
TIP 3: Have you checked our extensive FAQ?

              http://www.postgresql.org/docs/faq

Reply via email to