Where I work, cursors are considered bad practice, but I have had several stored procedures where it just seemed to make more sense to use a cursor. Are there guidelines as to when it's best to use one or when you shouldn't?
This. Exactly this. This is what my therapist has been talking about. And now with a tiny ad:
Devious Experiments for a Truly Passive Greenhouse!