Several of the canned reports (as an example, Computers that have run a specific metered software program) use the @__timezoneoffsetin them, and don't declare it--and it works in the web report. If you try running them in SQL Manager (as is or if you are attempting to make a modified report) you get the error
Msg 137, Level 15, State 2, Line 16
Must declare the scalar variable "@__timezoneoffset".
What is the correct way to handle using @__timezoneoffset?
Thanks!