Newbies Lady Jane Posted July 19, 2004 Newbies Posted July 19, 2004 New to SQL I am doing something wrong in my SQL query to pull the data from last week. I have used the form WHERE dbo.UserEvent.DateModified > (now()-7) changing the date indicator "now" to date, today, currdate and playing with the brackets in different forms makes no difference. Mostly I get [Microsoft] [ODBC SQL Server Driver] [sql Server] 'now' is not a recognised function name.(-1) changing the bracket type can change the message. This request is an exact copy of one suggested earlier on this list, where have I gone wrong?
slstrother Posted July 20, 2004 Posted July 20, 2004 This link may be of some help. Gentle Intro to SQL: How to use dates
Recommended Posts
This topic is 7429 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now