2009-10-15 5 views

Répondre

1

Il doit y avoir datefield> = textfield :: date. Je pense qu'il y aurait comparer deux champs de date et non deux champs de texte, donc le champ datefield :: text> = text serait plutôt faux.

0

L'aide de la fonction de manière trop:

cast(date_trunc('year', current_date) as text)