Computing.Net > Forums > Database > SQL query DateTime

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

SQL query DateTime

Reply to Message Icon

Name: newbiePHP
Date: October 22, 2007 at 06:28:51 Pacific
OS: Windows XP
CPU/Ram: 256
Product: Dell
Comment:

Hi,

SELECT *
FROM `Example`
WHERE `DateTime` = "2007-08-28 15:24:44"


If this entry doesn't exist how so I get the query to find the closest matching one in terms of seconds or minutes?

DateTime column is of course of type DateTime.

Any help would be really appreciated.

thanks,
newbie



Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Database Forum Home


Sponsored links

Ads by Google


Results for: SQL query DateTime

Need help with SQL-query (access) www.computing.net/answers/dbase/need-help-with-sqlquery-access/209.html

MS Access SQL query www.computing.net/answers/dbase/ms-access-sql-query/286.html

Need SQL Query www.computing.net/answers/dbase/need-sql-query/366.html