Condition Where sur une arboresence

Résolu/Fermé
Fallentree Messages postés 2309 Date d'inscription mercredi 25 février 2009 Statut Membre Dernière intervention 22 juillet 2019 - Modifié par Fallentree le 9/11/2010 à 02:18
Fallentree Messages postés 2309 Date d'inscription mercredi 25 février 2009 Statut Membre Dernière intervention 22 juillet 2019 - 9 nov. 2010 à 03:49
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 mercredi 25 février 2009 Statut Membre Dernière intervention 22 juillet 2019 208
9 nov. 2010 à 02:53
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 mercredi 25 février 2009 Statut Membre Dernière intervention 22 juillet 2019 208
9 nov. 2010 à 03:49
where 'Path' >= any (SELECT 'path' FROM 'theme' where 'id'=97) and 'Path Recadre' < any (SELECT concat('path','/Z') FROM 'theme' where 'id'=97)
0