SQL Cursors

Most of the time, you can use regular queries to accomplish your needs in a SQL database. There are plenty of interesting design patterns to work with sets of data, but once in awhile, you need the flexibility of a cursor.

Here's an example of a straightforward read only cursor.

View code on GitHub


Popular posts from this blog

DotNet CLI

Switch Expressions