[Haskell-cafe] Haskell and Databases

Isak Hansen isak.hansen at gmail.com
Tue Jul 5 12:20:59 CEST 2011


On Fri, Jul 1, 2011 at 8:45 PM, Tobias Schoofs <tobias.schoofs at gmx.net> wrote:

> Database programs, usually, do not just issue isolated SQL statements, but
> implement a processing logic with nested queries and DML statements.

Frequently using cursors or issuing queries from a loop often means
you've missed out on the declarative and set based nature of SQL and
databases.

http://www.sqlservercentral.com/articles/T-SQL/66097/
http://stackoverflow.com/questions/287445/why-do-people-hate-sql-cursors-so-much


Granted, you could still argue that it should be supported, for the
few cases where it actually makes sense.


Isak



More information about the Haskell-Cafe mailing list