1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26
| --------------
set @duree = 632448020
--------------
--------------
select '2000-01-01' + interval @duree second as 'New_Date'
--------------
+---------------------+
| New_Date |
+---------------------+
| 2020-01-16 00:00:20 |
+---------------------+
--------------
select 'oui' as Resultat
from dual
where ('2000-01-01' + interval @duree second) > current_date
--------------
+----------+
| Resultat |
+----------+
| oui |
+----------+
Appuyez sur une touche pour continuer... |