Erreur temporaire query


SELECT TOP 1 edito.id_contenu AS id_edito, contenus.id_contenu , contenus_votes.sum_votes / contenus_votes.nb_votes AS note FROM contenus JOIN contenus_xml ON contenus.id_contenu = contenus_xml.id_contenu JOIN contenus AS edito ON contenus.id_contenu = edito.id_contenu_parent JOIN contenus_votes ON contenus.id_contenu = contenus_votes.id_contenu WHERE contenus.id_contenu_parent= 45790 AND contenus.type='STRUCT' AND contenus.type_url=3 AND datediff(day,contenus_xml.date_debut,getdate())>=0 AND datediff(day,contenus_xml.date_fin,getdate())<=0 AND contenus_xml.valid=1 AND contenus.actif=1 AND contenus_xml.actif=1 AND contenus.nom_contenu <> 'Dossiers' and contenus.nom_contenu <> 'Et aussi' and contenus.libelle_contenu <> '' ORDER BY contenus_votes.note DESC