Jump to content

Current Week in Widget SQL


QEHNick
 Share

Recommended Posts

Does anyone know how I can report on resolved/ logged calls for the CURRENT week for a widget SQL Filter?

I've tried lots of SQL commands found on t'internet, but none seem to make the SQL muncher happy.

"h_date_resolved >= DATEADD(DAY, DATEDIFF(DAY, 0, GETDATE()) / 7 * 7, 0) AND h_date_resolved <= DATEADD(DAY, DATEDIFF(DAY, -1, GETDATE()), 0)" etc.

 

Link to comment
Share on other sites

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
 Share

×
×
  • Create New...