var sidebar_align = 'right';
var content_container_margin = parseInt('290px');
var sidebar_width = parseInt('270px');
What is the best way to select records from only today's date? There is one column in the table that is a timestamp data type. Need something like:
SELECT * FROM ORDERS WHERE TIMEPLACED = CURRENT_DATE;
SELECT * FROM ORDERS WHERE TIMEPLACED between timestamp(current date,'00:00:00') and timestamp(current date,'24:00:00')
That worked perfectly. Thanks..
Log in with your username and password
Forgot your password?
Subscribe to dBforums Brief to receive special offers from dBforums partners and sponsors