> SELECT * FROM planning_hebergement ORDER BY STR_CMP(period,
'".date("md")."%')
> DESC, period ASC

Merci beacuoup, en effet la requ�te :

SELECT * FROM planning_hebergement ORDER BY STRCMP(period, '04%')
DESC, period ASC

est parfaitement ce que je cherchait !

(d�sol� pour le mail pr�cendent.... fausse manoeuvre....)

Pascal Perez

_______________________________________________
gull mailing list
[EMAIL PROTECTED]
http://lists.alphanet.ch/mailman/listinfo/gull

Répondre à