Classic ASP ComponentsDiscussions specific to components in ASP 3.
Welcome to the p2p.wrox.com Forums.
You are currently viewing the Classic ASP Components section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
I'm trying to execute a query to a MySQL database. The intended result is to return all rows where the date field has a date equal to or greater than todays date.
Here's the query:
SELECT * FROM Seminars WHERE Seminar_Date >= '" & Date() & "' ORDER BY Seminar_Date ASC
For some reason, the query is returning all rows in the table vs. just the rows from today forward.