Hi !
i'd like to calculate clients' ages whereby using today's date minus "birthdate" colomnn. Code should look like:
evidently "today()" is wrong. Could any one tell me which function shows the "now" date ?
The correct syntax for the above code ?
Thanks !
i'd like to calculate clients' ages whereby using today's date minus "birthdate" colomnn. Code should look like:
Code:
select
today()-mytable.birthdate "Age"
from
mytable
where
today()-mytable.birthdate < 80
The correct syntax for the above code ?
Thanks !