Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

query access database based on day of week

LEGEND ,
Aug 10, 2006 Aug 10, 2006
I have a table that has a field named day, it is populated with the names of
days, monday, tuesday, wednesday etc. How can I query the database based on
the current day of the week. So if today is monday, I want all monday
records. Thanks


TOPICS
Server side applications
319
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Aug 11, 2006 Aug 11, 2006
LATEST
Maybe something like

select * from t where dayfield =format(date(),'dddd')

--
Jules
http://www.charon.co.uk/charoncart
Charon Cart 3
Shopping Cart Extension for Dreamweaver MX/MX 2004





Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines