Microsoft
Software
Hardware
Network
Question : help with mysql query
I need records of the employees who joined today and I am using this query
select * from emp where join_date between '2010-01-07 00:00:00' AND '2010-01-07 23:59:59'
I need help to change this query such that I don't have to manually change the date every day
Answer : help with mysql query
you will need this:
select * from emp where join_date >= CURDATE() and join_date < DATE_ADD(CURDATE(), INTERVAL 1 DAY);
Random Solutions
Terminal Services Licensing error on SBS2003
Just installed SBS 2008 and can't browse domain
Why does using TableDefs cause table to be used/locked?
How to configure license for terminal services on Windows 2008 if we have Volume License
using a variable to define/select a range in excel VBA
Access 2003 DB: Too many active users
Select Query
When is it most appropriate to use ADO vs. SQL statements and queries in a multi-user environment?
What is blocking Remote Desktop?
How to import PST files to Exchange 2007