I need an sql command that returns the person's age. I have the date of birth of the person in the bank, I need to calculate their age by SQL.
I need an sql command that returns the person's age. I have the date of birth of the person in the bank, I need to calculate their age by SQL.
I do
NVL(Floor(Months_Between(DtCalc,DtNasc)/12),0)
is a solution
I actually use a function for this.