changing the getdate to sysdatetime() seemed to have done the job.
↧
changing the getdate to sysdatetime() seemed to have done the job.