equentin
asked on
SQL Query - Get Date Range
I want to return a recordset of results from just today ie:
SELECT * FROM tblLogUser WHERE LogDate =getDate()
getDate() includes the time, which I don't want, so how do I easily filter that out?
SELECT * FROM tblLogUser WHERE LogDate =getDate()
getDate() includes the time, which I don't want, so how do I easily filter that out?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
not really.
I have on may servers/database a view/function that returns only the date portion, so it can be used in views/functions easily
I have on may servers/database a view/function that returns only the date portion, so it can be used in views/functions easily
ASKER
Sorry, just noticed I hadn't accepted the solution - my apologies.
ASKER