Quantcast
Channel: dBforums – Everything on Databases, Design, Developers and Administrators
Viewing all articles
Browse latest Browse all 13329

date comparison

$
0
0
I need to write a SELECT query that will return the following:


MEMBER_ACCT.acn
MEMBER_ACCT.mbr_nam
MEMBER_ACCT.birth_dt

WHERE THE MEMBER_ACCT.birth date is on or before 6-30-yyyy (70 years ago on the date the query is run)

i.e. if run today (5-31-2013) the birth date would need to be on or before 6-30-1943.

I'm trying to uses SQL SERVER 2008 R2 Reporting Services to automate this report.....


Thanks for your assistance in advance...

Viewing all articles
Browse latest Browse all 13329

Trending Articles