Is it possible to trick SQL Server into returning another date to GetDate() without actually changing the machine date?
That would be great, since we have a database with old data, and I'm trying to check out some queries that use getdate ().
I can change the date of the machine, but it brings some other problems with other applications ...
Any tips?
Thanks!
source share