Each entity can have one parent. I need to find all the descendants of a given entity.
Is it possible with just SQL?
I can only think in terms of a script, and it won't be as fast as sql alone.
I'm using PHP and MS SQL Server 2005, and doctrine 2 DBAL