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

Comments

Popular posts from this blog

C# Record Serialization

Razor Pages AJAX

Versioned content in MVC