Results 1 to 3 of 3
  1. #1
    Join Date
    Feb 2009
    Posts
    2

    Wink Unanswered: select all clients celebrating birthday today

    Hello,

    I want to select all the clients from our mailinglist who celebrate there birthday today.
    I came this far:


    SELECT Mailinglijst.Voornaam, Mailinglijst.Verjaardag AS uid, *FROM Mailinglijst WHERE (Mailinglijst.Verjaardag) = Date()

    What I need is to check only the month + Day against the current date!
    Is there a acces master who can help?

    Thanks a lot!

  2. #2
    Join Date
    Apr 2002
    Location
    Toronto, Canada
    Posts
    20,002
    WHERE FORMAT(Mailinglijst.Verjaardag,'mm/dd') = FORMAT(Date(),'mm/dd')
    rudy.ca | @rudydotca
    Buy my SitePoint book: Simply SQL

  3. #3
    Join Date
    Feb 2009
    Posts
    2

    Thanks! Its working

    For you guys proberly a small effort, but I am so happy its working!!!

    Thanks a lot!

    Jay

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •