Thread overview | |||||
---|---|---|---|---|---|
|
October 30, 2006 Database connection... | ||||
---|---|---|---|---|
| ||||
Hi. (Sadly) I have to connect to a *MSSQL* database in my program. I browsed the net quite a lot to find a D library (or sg.) that could do it. (I've found a connector form MySQL and a few others but not MSSQL.) Could someone help me about sending an URL for one or a module of own? Thank you. |
October 30, 2006 Re: Database connection... | ||||
---|---|---|---|---|
| ||||
Posted in reply to Nahon | Nahon wrote: > Hi. > > (Sadly) I have to connect to a *MSSQL* database in my program. I browsed the > net quite a lot to find a D library (or sg.) that could do it. (I've found a > connector form MySQL and a few others but not MSSQL.) > Could someone help me about sending an URL for one or a module of own? > > Thank you. Assuming you are comfortable with the windows api for odbc, the api headers are here: http://www.prowiki.org/wiki4d/wiki.cgi?WindowsAPI. Which will link you to the dsource repository. |
October 30, 2006 Re: Database connection... | ||||
---|---|---|---|---|
| ||||
Posted in reply to Nahon | Nahon wrote: > Hi. > > (Sadly) I have to connect to a *MSSQL* database in my program. I browsed the > net quite a lot to find a D library (or sg.) that could do it. (I've found a > connector form MySQL and a few others but not MSSQL.) > Could someone help me about sending an URL for one or a module of own? > > Thank you. I have wrappers for FreeTDS (http://www.freetds.org) that wrap its ctlib portion of code. They were generated with bdc.gen, and I was able to get a D program talking to MSSQL. However, it's a bit low-level, and I have plans on integrating it with the DDBI lib on dsource - http://www.dsource.org/projects/ddbi. Let me know if you want it in it's rough form. BA |
Copyright © 1999-2021 by the D Language Foundation