Last active
July 3, 2017 04:25
-
-
Save miguelcperez/05e10e34e947ecb15e7bddcb05bbc90c to your computer and use it in GitHub Desktop.
Oracle Age Calculator Function
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
TRUNC((trunc(sysdate-fechanacimiento) )/365.25),0) | |
trunc(trunc(trunc(sysdate-fechanacimiento) - (365.25 * TRUNC(trunc(sysdate-fechanacimiento) )/365.25,0)))/ 30.4375) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment