Your question is a bit broad ....how are you connecting to the database....how are you querying it? I connect to SQL databases and if I am not calling a stored procedutre it would look something like this:
set rs=server.createobject("adodb.recordset"
ssql="select * from your table where column like '%param%' order by Date_column desc"
rs.open ssql, YourConnectionString
The ssql statement is the place to set the order of your results...in this case the column is named Date_column and the desc is indicates descending order....(i always forget if dates are past to present or now backwards if this is backwards then just take off "desc"
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.