How would I construct a SQL statement that would query the database and return the 5 most recent dates added into the database?
Would I use the TOP SQL keyword to select the 5 most recent entries?
How would I query for the most recent dates?
SELECT TOP 5 *
FROM dbo.tblWeblog
WHERE blogDate = ?
Thanks for any help!
-Dman100-Close! I'd use:SELECT TOP 5 *
FROM dbo.tblWeblog
ORDER BY blogDate DESC-PatP|||Thanks Pat!
-Dman100-
No comments:
Post a Comment