[Haskell-cafe] HDBC with SQL Server / OBDC

John Goerzen jgoerzen at complete.org
Tue May 27 09:46:05 EDT 2008


On Sunday 25 May 2008 11:24:20 am Morten Holm Pedersen wrote:
> am trying to do a simple DB connection from Haskell to a SQL Server 2005
> (on Windows obviously). The DSN name ("Nylon") works from C++ but when
> running the below example (or any other I can think of) ghci crashes.
> Does anyone know a resolution for this or where the problem can possible
> be ?

First off, I'd suggest separating out the steps in your do block to 
individual pieces so you can isolate where the crash is.  Also, what sort of 
error message do you get when the crash occurs?  And are you using a MingW 
GHC?

-- John


More information about the Haskell-Cafe mailing list