Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Can recursion handle this?
Message
 
 
À
02/05/2007 04:43:50
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Syntaxe SQL
Divers
Thread ID:
01221573
Message ID:
01221736
Vues:
12
Hi Viv,

If you post comprehensive test data (CREATE TABLE, INSERTs), I can take a look at it.

>
>>It can be done in SQL 2005 with recursive CTE (Common Table Expressions).
>
>I figured that if it was possible CTE would be needed. Just can't quite get my head around the fact that some rows in the Components table are 'recursive' whilst others reference the Parts table. I'll give it a try (and probably fail :-{....)
>
>Maybe the design is wrong and I need 'dummy' entries for parts in the Components table?
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform