quick note:
dbo.tblTrackingTable.TrackingDate BETWEEN
DATEADD(dd, DATEDIFF(dd, 0, @Enter_Starting_Date), 0)
And DATEADD(ss, - 1, DATEADD(dd, DATEDIFF(dd, 0, @Enter_Ending_Date), 1))
This isn't best. Presuming the column is indeed smalldatetime then it will work, but it isn't best...