|
nr
SQLTeam MVY
United Kingdom
12543 Posts |
Posted - 01/17/2007 : 15:50:16
|
Have a person table. This might have attributes like director, manager which would describe what they are allowed to do. Another table Person_id, Child_Person_id, relationship (startdate, end_date) This shows relationships like manages, directs.
v2005 gives you CTE's which enable you to read hierarchies - there areexamples in bol.
========================================== Cursors are useful if you don't know sql. DTS can be used in a similar way. Beer is not cold and it isn't fizzy. |
 |
|