Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

postgresql calculate age from birthdate

SELECT EXTRACT(YEAR from AGE(NOW(), birth)) as "age", * FROM customers;
Source by bloomlab.blogspot.com #
 
PREVIOUS NEXT
Tagged: #postgresql #calculate #age #birthdate
ADD COMMENT
Topic
Name
7+2 =