Created
August 2, 2019 08:16
-
-
Save marschall/69b72f7519905b6a050ad99d82366578 to your computer and use it in GitHub Desktop.
Shows the Oracle calendar is not proleptic
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
WITH calendar(date_value) AS ( | |
SELECT TIMESTAMP '1582-09-30 00:00:00' | |
FROM dual | |
UNION ALL | |
SELECT date_value + 1 | |
FROM calendar | |
WHERE date_value <= TIMESTAMP '1582-10-16 00:00:00' | |
) | |
SELECT date_value | |
FROM calendar; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment