Sujet Précédent Sujet Suivant Année N-1 PL/SQL loic - yanban - 16 mars 2004 à 09:33 Bonjour, Comment récupérer l'année N-1 de la date courante. Merci. Afficher la suite 1 réponse Réponse 1 / 1 yanban comme ça : SQL> select (to_char(sysdate,'yyyy')-1) from dual; (TO_CHAR(SYSDATE,'YYYY')-1) --------------------------- 2003
Réponse 1 / 1 yanban comme ça : SQL> select (to_char(sysdate,'yyyy')-1) from dual; (TO_CHAR(SYSDATE,'YYYY')-1) --------------------------- 2003