You need to uniquely identify rows in the children table. The ParendID
won't work - parents can have multiple children.
Name won't work because you could have two different sets of parents,
each with a child named "John". And if you have the whole name (which
you need - what if the child gets married and changes his/her name, for
instance?), you could still have two "Jane Smith"s (from different
parents). So Name won't work.
You *could* have a combination key of Parent Id/Name? It's a
possibility. At first you might think it's unlikely for parents to have
two children with the same name. But what about the case where a guy
has a son named "John Smith" from a first marriage - then marries "Jane
Doe". Jane also has a son named "John Doe"; the guy adopts the son
officially and changes his name to "John Smith". Now he has two sons
with the same name. Unlikely, I admit - but these are the things you
need to think about when designing tables.
All in all, I think the best would be to create an autoincrement column
to give the child a unique id. It's really not that much more overhead
and solves a lot of potential problems.
--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstu...@attglobal.net
==================