How can I get how old I am until today?

How can I get how old I am until today? Is a simple function for this in plsql?

As the days between...

SQL> ed
Wrote file afiedt.buf

  1  select sysdate-date '1973-02-01' as days_between
  2* from dual
SQL> /

DAYS_BETWEEN
------------
  13741.4601

SQL>

Months between...

SQL> ed
Wrote file afiedt.buf

  1  select months_between(sysdate,date '1973-02-01') as months_between
  2* from dual
SQL> /

MONTHS_BETWEEN
--------------
    451.498724

SQL>

Years between...

SQL> ed
Wrote file afiedt.buf

  1  select months_between(sysdate,date '1973-02-01')/12 as years_between
  2* from dual
SQL> /

YEARS_BETWEEN
-------------
   37.6248945

SQL>

Tags: Database

Similar Questions

Maybe you are looking for

  • Satellite Pro 2100: CD-ROM/DVD-ROM is missing - error code 39

    Hi all After an unsuccessful attempt to install a key USB TV, my DVD/CDRW drive has disappeared. It still works, I can hear it working, but Windows XP does not know more that the computer has this feature. It also is not upward under 'my computer' mo

  • Satellite L650 / 0K 3 - attracts dust

    My 3 week old Satellite L650/0 k 3 works well EXCEPT that it attracts dust. On the screen, the keyboard and the body. You could call cela a magnet to dust. This does not affect its operation, but my laptop is black and dust is very visible. Yes, I ad

  • Fingerprint reader offers more password to logon to the exception

  • Ethernet problem

    I have a hp pavilion all-in-one pc bought in dec.2012 works fine until Tuesday. 4/23 when I turn it on I get a yellow triangle saying I do not have internet connection but my modem all lights are green and when I go through the connection to fix it t

  • Is it possible to enter into function twice before leaving?

    I have an executable that includes a user interface, and on the user interface, there are 2 Timer controls, each using the same callback function, but each timer is set at a different rate.  The reason this way of coding is not important, but the fac