Condition Where sur une arboresence

Résolu
Fallentree Messages postés 2309 Date d'inscription   Statut Membre Dernière intervention   -  
Fallentree Messages postés 2309 Date d'inscription   Statut Membre Dernière intervention   -
Bonjour,
pour restreindre aux repertoires
where 'Path' = (SELECT 'path' FROM 'theme' where 'id'=282)
pour les repertoires fils, je pensais à ça mais non
where 'Path' > (SELECT 'path' FROM 'theme' where 'id'=282)+'/'
ou
where 'Path' Like '(SELECT 'path' FROM 'theme' where 'id'=282)%'


merci de votre lecture ou aide .

2 réponses

Fallentree Messages postés 2309 Date d'inscription   Statut Membre Dernière intervention   209
 
where 'Path' > (SELECT concat('path','/') FROM 'theme' where 'id'=282)Ok pour la concatenation SELECT concat('path','/') FROM 'theme' where 'id'=282
mais pas pour l operande >
0
Fallentree Messages postés 2309 Date d'inscription   Statut Membre Dernière intervention   209
 
where 'Path' >= any (SELECT 'path' FROM 'theme' where 'id'=97) and 'Path Recadre' < any (SELECT concat('path','/Z') FROM 'theme' where 'id'=97)
0