In SQL 7.0: <br>I am retrieving last 10 records from the database, where the condition is based on the date column, which is generated by using the getdate() function. The particulat field is defined in the database as datetime(), since the getdate() get the timestamp with it, I could not execute the query, all the values are scred up. help me to come over the problem. Thanks