Gettin birthday reminders in vb 2008 and sql server
Gettin birthday reminders
I am building a database for an institution. However, I will love the database to intimate the operator of birthdays of those in the database using vb 2008 and sql server. My query for the sql server goes thus:
select Surname, Other_Names, Mobile_Phone from Parishioner_Adults where WHERE day(Date_of_Birth) =day((GETDATE()+15)) AND month(Date_of_Birth)=month(getdate())
But I am not getting any result when it is called. Please can anyone give me a suggestion please.