Many times, i have been troubled in scenario where the Current system Date cannot be referred using GETDATEI) within the User Defined Functions.  This is obviously the non-deterministic nature of GETDATE() function and User defined functions do not allo their usage.  Here is a tip i followed earlier which worked pretty well to overcome […]