IF OBJECT_ID('dbo.GetStepCountByTimeRanges', 'P') IS NOT NULL
    DROP PROCEDURE dbo.GetStepCountByTimeRanges;
