I have a report that goes and does a sort of field validation/quality assurance check.<BR><BR>Basically it runs a bunch of sub queries and shows a summary report.<BR><BR>If something is not as it ...
I'm trying to make my query optionally accept a Datepart interval. It works as intended until I added in<BR><pre class="ip-ubbcode-code-pre">WHEN @Interval= 'NONE ...