You are here: Re: Flattening Parent Child Hierarchy: Urgent please help « MsSQL Server « IT news, forums, messages
Re: Flattening Parent Child Hierarchy: Urgent please help

Posted by Jason Kester on 08/10/06 14:16

Dip wrote:
> Hi Expert,
> How do I flatten a Parent Child hierarchy to regular flat data: please
> provide some SQL code:
>
> I want to have:
>
> Level1 Level2 Level3
> Project Management Costing Task1
> Project Management Costing Task2
> Project Management Estimating Task3
> Project Management Estimating Task4
>


Sounds pretty straightforward, joining the table into itself as many
times as you need to get the depth you want. What have you tried so
far, and what is the specific issue you're coming up against?


Jason Kester
Expat Software Consulting Services
http://www.expatsoftware.com/

---
Get your own Travel Blog, with itinerary maps and photos!
http://www.blogabond.com/

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация