Classic ASP DatabasesDiscuss using ASP 3 to work with data in databases, including ASP Database Setup issues from the old P2P forum on this specific subtopic. See also the book forum Beginning ASP.NET Databases for questions specific to that book. NOT for ASP.NET 1.0, 1.1, or 2.0.
Welcome to the p2p.wrox.com Forums.
You are currently viewing the Classic ASP Databases 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
How do I select everything from a database were the date is within 1 week of today.... All I would need is the selection statement. O, and the dates in the database are like this "06/07/2004" so I am not sure if you can use the function "now()"... Any help would be great!
What database are you using? If you do it directly in ASP, you can use date, and might be able to do date - 7. If you are doing it in SQL statement, something like above if you are using SQL Server.