Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re^3: Tree Structure and Db

by SimonClinch (Deacon)
on Jul 07, 2005 at 11:18 UTC ( #473064=note: print w/replies, xml ) Need Help??


in reply to Re^2: Tree Structure and Db
in thread Tree Structure and Db

A link table is the normal way to enforce referential integrity in many to many relationships (0 or 1 counts as many for these purposes) and in this case prevents orphans; it also enables you to define different types of relationship without putting more illegal or awkwardly-implemented constraints (and adding maybe-null foreign keys for them) on the master table.

One world, one people

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://473064]
help
Chatterbox?
[talexb]: Oof .. Two different sets of friends said good-bye to a parent last week. My concolences to their families.

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (10)
As of 2017-06-26 14:04 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    How many monitors do you use while coding?















    Results (580 votes). Check out past polls.