This is an existing application that has about ~1400 stored procedures, that was built many years ago. We have used GetDate() to get current date within many of the stored procedures.
Now we want to test this application with "Aging" scenarios. We were told by our DBAs that GetDate() function derives date from operating system. So if we need getdate() to return future date, we need to change OS date. Data Center guys won't let us change Operating System date.
One obvious solution is to create a separate GetApplicationDate() function which returns what ever date we want and review all stored procedures and update them with this new custom function.
I want to avoid changing ~1400 stored procedures and override GetDate() function provided by SQL Server. Is that possible?
Thanks, Gaja