I have a one table Called MeetingInfo. In that table there is a info regarding Meeting Start Date and End Date And Metting Room.
I want to make a query by which i want to see all the Meeting start Date and EndDate but From today to 365Days Ago. Below Way i am trying
DECLARE @TodayDATE = GETUTCDATE()
Select * from MeetingInfo
WHERE StartDate between DATEADD(DAY,-365,GETDATE()) and @Today
AND tbia.EndDate between DATEADD(DAY,-365,GETDATE()) and @Today
What do u think this is the correct way to see the results