Razzak, I did read your article so for a primary key: not null or dup. value enforces constraints, use instead of rules builds an index. So all others will be foreign keys.
Correct? Boyd ---- "A. Razzak Memon" <[EMAIL PROTECTED]> wrote: > At 04:40 PM 4/28/2008, [EMAIL PROTECTED] wrote: > > >I am still a little confused on what and when I need to use these two keys. > >If I am building a report with all the tables included in the report as > >below: > >Customer Table > > Project Table > > ____Table > > _____Table > > _____Table > > Item Table > > Item Type Table > >Could Customer and Project be the primary and all _____tables be foreign? > > > >Item would be primary to item type. > > > Boyd, > > Here you go ... > > From The Edge: http://www.razzak.com/fte/ > > Topic Header: Constraints | Search ... > > Topic: All About Constraints in R:BASE 7.x and Turbo V-8 for Windows > > Date : 08/21/2006 > > I hope you find this article helpful! > > Very Best R:egards, > > Razzak. >

