But I'm not sure why you would use it in your example, as it looks like you're only fetching a few (or just one?) records anyway and not doing any bulk DML with them. And if you are only fetching one record i.e. the Department Name is unique, then you don't need a FOR loop at all.
No more Blub for me, thank you, Vicar.
He loves you so much! And I'm baking the cake! I'm going to put this tiny ad in the cake: