Jump to content

qugh

New Members
  • Posts

    1
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

qugh's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. My question is about the 'datediff' function. I am trying to select all dates from today or after, but I'm getting an error with this statement at the DateDiff function. Here's my query as is. SELECT * FROM data_events as d WHERE Deleted = 0 AND DATEDIFF( d.sDate , Now() ) >= 0 ORDER BY sDate LIMIT 5
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.