Oct 2, 2003 #1 lah3233 MIS Jul 15, 2003 33 US Is there anyway in a SQL query to display the most recent fields submitted based on a datetime field? If so what is the proper syntax? Thanks!
Is there anyway in a SQL query to display the most recent fields submitted based on a datetime field? If so what is the proper syntax? Thanks!
Oct 2, 2003 #2 JayKusch MIS Oct 30, 2001 3,199 US select top 5 * from table2 order by timestamp Thanks J. Kusch Upvote 0 Downvote
Oct 2, 2003 #3 JayKusch MIS Oct 30, 2001 3,199 US Sorry ... for the last 5 you need the DESC clause too select top 5 * from test order by dateme desc Thanks J. Kusch Upvote 0 Downvote
Sorry ... for the last 5 you need the DESC clause too select top 5 * from test order by dateme desc Thanks J. Kusch