Quantcast
Channel: Microsoft SQL Server
Viewing all articles
Browse latest Browse all 4871

Simple SQL script question involving dates

$
0
0

Hi Gurus. I'm trying to write a simple script that will show a birthday but I need to exclude, or not look at the year. Right now the very simple version is

select * from driver where birth_date = '09-10-1980'

What I'm looking for though is ALL birthdays that fall on today's date, despite the year they were born. How do I pull MMDD****? Month, day, any year?

Thanks all!


Viewing all articles
Browse latest Browse all 4871

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>