Source
How to scan Result set in stored procedures
FAQ: Cursors can be useful in stored procedures to loop through the records from SELECT statements for several business needs in ETL batches or other flows.
<budget_name>!SET_RESOURCE_TAGS
Adds tags to a custom budget so that resources that are tagged with the specified tag - value pairs are included in the budget.