我有一个过程,默认今天的日期如果没有参数传入它。SQL Server 2005日期本地化
CREATE Procedure GetDirectoryRenewalReminders
(@DateToday datetime = Null)
As
If @DateToday Is Null
Begin
Set @DateToday = GetDate()
End
...
Go
我怎样才能确保GETDATE()值将默认为当前英国时间在英国的应用程序调用时,和澳大利亚的时间在澳大利亚的applciation调用时?