i'm trying to edit a sql statement from an existing custom report that involves technician time charges.
the existing statement shows time charge data for "yesterday"
I can't figure how to write the statement for the last 30 days.
the existing state reads: where datediff(day, vtimecharges.startdate, getdate()) =1 and skillcode = 'ELE'
any help would be appreciated
the existing statement shows time charge data for "yesterday"
I can't figure how to write the statement for the last 30 days.
the existing state reads: where datediff(day, vtimecharges.startdate, getdate()) =1 and skillcode = 'ELE'
any help would be appreciated