Results 1 to 2 of 2
  1. #1
    Join Date
    Sep 2006
    Posts
    162

    Unanswered: Query Date with Now field

    I have a table that has a field that is filled with Now() gives date and time.
    How can I pull all entries for a specific date and exclude the time.

  2. #2
    Join Date
    Apr 2002
    Location
    Toronto, Canada
    Posts
    20,002
    Code:
    select ...
      from ...
     where datevalue(daField) = #2006-12-30#
    rudy.ca | @rudydotca
    Buy my SitePoint book: Simply SQL

Posting Permissions

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