Hi there. I need advice on which is better to store date/time information on a database and retrieve data between two given dates.
It appears to be pretty simple to use timestamp, which value is always bigger as time goes on, and I could compare using logical operators in a SQL query. Is this tought correct? By the way, is there a function or somewhat that results in the 'somatory' of all values in a given interval? Thank you. --- Conrado Vardanega [EMAIL PROTECTED] http://go.to/conrado --------------------------------------------------------------------- Before posting, please check: http://www.mysql.com/manual.php (the manual) http://lists.mysql.com/ (the list archive) To request this thread, e-mail <[EMAIL PROTECTED]> To unsubscribe, e-mail <[EMAIL PROTECTED]> Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php