Looking to show the records that are for today and in the future. Anyone know the correct syntax and function that would return today's date for a SQL statement? Something like the below:
SELECT * FROM view_eventplayer
WHERE eventdate >= currentdate()
ORDER BY last_name
currentdate() is one I've used with other databases. Appreciate the help.
Welcome to the nuBuilder Forums!
Register and log in to access exclusive forums and content available only to registered users.
Register and log in to access exclusive forums and content available only to registered users.
select where clause current date
-
- nuBuilder Team
- Posts: 4416
- Joined: Sun Oct 14, 2018 6:43 pm
- Has thanked: 74 times
- Been thanked: 472 times
- Contact:
Re: select where clause current date
Code: Select all
SELECT * FROM view_eventplayer
WHERE eventdate >= CURDATE()
ORDER BY last_name
-
- Posts: 30
- Joined: Wed Sep 06, 2023 12:45 am