hi,one of the query is having the below parameter declare @StartDate DATETIMEselect @StartDate= SWITCHOFFSET(CONVERT(DATETIMEOFFSET, (DATEADD(day, -1, GETDATE()))), '-10:00')and we used startdate in where condition.It is taking login time 48 seconds run in one server but when we execute it from linked server through ..its giving result in 2 seconds ..is there any server setting issue ?
↧