[Haskell-cafe] Takusen - is anyone currently using it on Win32 - ODBC?

Anton van Straaten anton at appsolutions.com
Mon Aug 31 14:04:36 EDT 2009


Günther Schmidt wrote:
> My app then needs to read in dynamic data, a set of 4 CSV files, and I 
> had been using Microsofts ODBC driver with HDBC.ODBC and that worked too.
> When I try to swap it for Takusen though I get an
> 
>     
> *** Exception: DBError ("HY","C00") 106 "[Microsoft][ODBC Text Driver]
>     Optional Feature was not implemented
> 
> Which is a bit of a shame, because using the ODBC text driver was much 
> simpler than parsing the CSV files.

A simple but powerful way to access CSV files is via TxtSushi, which 
gives SQL access to CSV files, without needing ODBC:

   Home page: http://keithsheppard.name/txt-sushi/
   Hackage: http://hackage.haskell.org/package/txt-sushi

You'd have to use it directly, since afaik it won't work with Takusen, 
although a Takusen back end for it ought to be possible.

Anton


More information about the Haskell-Cafe mailing list