I need to display the client age. Is there a way within the query not from a stored procedure, that will return the client's age?
The data looks like this: (ac.dob)
2004-04-13 00:00:00.000
Query:
select
ac.first_name, ac.last_name, ac.dob,
st.description, co.description,
rd.race, rd.ethnicity_description
from
address ad
inner join
all_clients_view ac on ad.people_id = ac.people_id
inner join
county co on ad.county = co.county_id
inner join
state st on co.state_id = st.state_id
inner join
rpt_demographics rd on ac.people_id = rd.people_id
where
ad.is_active = 1
order by
st.description, co.description