Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

Troubleshooting
Research
Professional Opinions
Ask a Question
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE

troubleshooting Question

MS-SQL: Query to find a age group?

Avatar of Valleriani
VallerianiFlag for Sweden asked on
Microsoft SQL ServerMicrosoft SQL Server 2005Microsoft SQL Server 2008
6 Comments1 Solution371 ViewsLast Modified:
MSSQL 2008.. I have a table with data which has name, category, and date of birth.

The date of birth is, for example:

12/24/1970
11/10/1965

What I'm trying to do is find dates between, lets say, age 30-45 ... I guess I would do something like search between 1965-1980 of the current date (June 05th). Is this possible, and if so , how would this be handled in a query?
ASKER CERTIFIED SOLUTION
Avatar of Anthony Perkins
Commented:
This problem has been solved!
Unlock 1 Answer and 6 Comments.
See Answers