I am stuck with my query. I have a table called Patient
. In this table a column has patient DOB
. Actually I want to display the exact age of the patient.
For example:
PatName DOB (MM/dd/yyyy) Age
a 06/02/1947 65 Years 1 Month/s 3 Days
b 07/10/1947 64 Years 11 Month/s 25 Days
c ----------- -----------------------
I want to display the age of the above format.
I have already googled about this but nobody helped.
If you have any query regarding this pls post that.
Thanks
If you follow this link, you'll find a function doing exactly that:
Hi Check the query below.
Here is the solution