Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

This topic is 7429 days old. Please don't post here. Open a new topic instead.

Recommended Posts

  • Newbies
Posted

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?

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.