Bonjour tout le monde,

Est-il possible de compter le nombre de week-end entre deux dates ?

Code : Sélectionner tout - Visualiser dans une fenêtre à part
select retourne_le_nombre_de_weekend from ma_table where ma_table.ma_date between   to_date('02/01/2012','DD/MM/YYYY') and to_date('20/05/2012','DD/MM/YYYY')
Dans mon exemple ci-dessus retourne_le_nombre_de_weekend devrait retourner le chiffre 20.

Merci d'avance,

Yves