Using Cursor to loop through a Table variable in SQL Server
If possible, just treat this as a set and consider if you can rewrite the --Some operation as a single batch.

It may require you to get smart with joins to other tables based on the date ranges - or perhaps you could split the date range further into StartDate and EndDate columns before doing your additional processing which might help with joins