Re: [Haskell-cafe] HDBC-odbc 1.1.4.4 fixes Windows linking problems

2008-06-05 Thread Greg Matheson
On Wed, 04 Jun 2008, John Goerzen wrote: Prelude Database.HDBC Database.HDBC.ODBC conn - connectODBC dictation Please note that this is not a valid connection string. I need to remember the connection functions are specific to the drivers and there are differences between connectODBC and

Re: [Haskell-cafe] HDBC-odbc 1.1.4.4 fixes Windows linking problems

2008-06-04 Thread Greg Matheson
On Wed, 04 Jun 2008, Andrew Appleyard wrote: Prelude Database.HDBC Database.HDBC.ODBC handleSqlError $ conn - connectODBC dictation interactive:1:0: Parse error in pattern Try: conn - handleSqlError $ connectODBC dictation C:\cygwin\home\Administratordictation dictation: user error

Re: [Haskell-cafe] HDBC-odbc 1.1.4.4 fixes Windows linking problems

2008-06-03 Thread Greg Matheson
On Tue, 03 Jun 2008, John Goerzen wrote: Hi, HDBC-odbc version 1.1.4.4 has been uploaded to Hackage. It fixes the problems some here have encountered regarding ODBC crashes or other similar odd behavior on Windows. I'm getting a 'Parse error in pattern' error. C:\Documents and

Re: [Haskell-cafe] HDBC with SQL Server / OBDC

2008-05-25 Thread Greg Matheson
On Sun, 25 May 2008, 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. I have been having the same