p2p.wrox.com Forums

p2p.wrox.com Forums (http://p2p.wrox.com/index.php)
-   SQL Server 2005 (http://p2p.wrox.com/forumdisplay.php?f=220)
-   -   parent child connect (http://p2p.wrox.com/showthread.php?t=54307)

s2mo February 20th, 2007 07:05 AM

parent child connect
 
Hi, I am trying to view a 'structured' bill of materials which has two fields, bomparent and bomchild - and i want to report down the tree from any given bomparent. I've done this before with oracle sql, but in sql server I don't think there is a "start with" equivalent when using connect.

Can anyone offer an alternative?
Many thanks in advance.


s2mo February 20th, 2007 07:16 AM

Jsut to add: I have tried using nested tables, but the depth of the tables would need to be flexible and possibly greater than 15.



All times are GMT -4. The time now is 10:03 AM.

Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.