www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - sqlserver2000 for d2 api ?

reply dolive <dolive89 sina.com> writes:
Who have the sqlserver2000 for d2 api ?  
Can you give me ?  thank you !

dolive89 sina.com
May 25 2009
parent reply John C <johnch_atms hotmail.com> writes:
dolive Wrote:

 Who have the sqlserver2000 for d2 api ?  
 Can you give me ?  thank you !
 
 dolive89 sina.com

There's no API for SQL Server 2000, as such. You usually interface with SQL Server through the ODBC, OLEDB or ADO interfaces - the last two are COM-based. I think older versions of DBI over on DSource supported ODBC - alas no longer, it seems. I couldn't find any other general database libraries for D. Anyone else?
May 26 2009
parent reply Steve Teale <steve.teale britseyeview.com> writes:
John C Wrote:

 dolive Wrote:
 
 Who have the sqlserver2000 for d2 api ?  
 Can you give me ?  thank you !
 
 dolive89 sina.com

There's no API for SQL Server 2000, as such. You usually interface with SQL Server through the ODBC, OLEDB or ADO interfaces - the last two are COM-based. I think older versions of DBI over on DSource supported ODBC - alas no longer, it seems. I couldn't find any other general database libraries for D. Anyone else?

I got quite a long way with ODBCD. But then we moved from India to Tanzania, which slowed me down a bit. I was going to attach a zip of it, but that does not seem to be working. You can find it at http://www.britseyeview.com/odbcd.zip. Steve Steve
May 26 2009
next sibling parent reply dolive <dolive89 sina.com> writes:
Steve Teale 写到:

 John C Wrote:
 
 dolive Wrote:
 
 Who have the sqlserver2000 for d2 api ?  
 Can you give me ?  thank you !
 
 dolive89 sina.com

There's no API for SQL Server 2000, as such. You usually interface with SQL Server through the ODBC, OLEDB or ADO interfaces - the last two are COM-based. I think older versions of DBI over on DSource supported ODBC - alas no longer, it seems. I couldn't find any other general database libraries for D. Anyone else?

I got quite a long way with ODBCD. But then we moved from India to Tanzania, which slowed me down a bit. I was going to attach a zip of it, but that does not seem to be working. You can find it at http://www.britseyeview.com/odbcd.zip. Steve Steve

dolive89 sina.com thank you
May 26 2009
next sibling parent dolive <dolive89 sina.com> writes:
dolive 写到:

 Steve Teale 写到:
 
 John C Wrote:
 
 dolive Wrote:
 
 Who have the sqlserver2000 for d2 api ?  
 Can you give me ?  thank you !
 
 dolive89 sina.com

There's no API for SQL Server 2000, as such. You usually interface with SQL Server through the ODBC, OLEDB or ADO interfaces - the last two are COM-based. I think older versions of DBI over on DSource supported ODBC - alas no longer, it seems. I couldn't find any other general database libraries for D. Anyone else?

I got quite a long way with ODBCD. But then we moved from India to Tanzania, which slowed me down a bit. I was going to attach a zip of it, but that does not seem to be working. You can find it at http://www.britseyeview.com/odbcd.zip. Steve Steve

dolive89 sina.com thank you

sorry,is downloaded, How can compile to lib and config install ? thank you
May 26 2009
prev sibling parent dolive <dolive89 sina.com> writes:
dolive 写到:

 Steve Teale 写到:
 
 John C Wrote:
 
 dolive Wrote:
 
 Who have the sqlserver2000 for d2 api ?  
 Can you give me ?  thank you !
 
 dolive89 sina.com

There's no API for SQL Server 2000, as such. You usually interface with SQL Server through the ODBC, OLEDB or ADO interfaces - the last two are COM-based. I think older versions of DBI over on DSource supported ODBC - alas no longer, it seems. I couldn't find any other general database libraries for D. Anyone else?

I got quite a long way with ODBCD. But then we moved from India to Tanzania, which slowed me down a bit. I was going to attach a zip of it, but that does not seem to be working. You can find it at http://www.britseyeview.com/odbcd.zip. Steve Steve

dolive89 sina.com thank you

sorry,is downloaded, How can compile to lib and config install ? thank you
May 26 2009
prev sibling parent hqs7636 <dolive89 sina.com> writes:
Steve Teale 写到:

 John C Wrote:
 
 dolive Wrote:
 
 Who have the sqlserver2000 for d2 api ?  
 Can you give me ?  thank you !
 
 dolive89 sina.com

There's no API for SQL Server 2000, as such. You usually interface with SQL Server through the ODBC, OLEDB or ADO interfaces - the last two are COM-based. I think older versions of DBI over on DSource supported ODBC - alas no longer, it seems. I couldn't find any other general database libraries for D. Anyone else?

I got quite a long way with ODBCD. But then we moved from India to Tanzania, which slowed me down a bit. I was going to attach a zip of it, but that does not seem to be working. You can find it at http://www.britseyeview.com/odbcd.zip. Steve Steve

compile is error : D:\D\db_sql\odbcd\wrappers.d -c -ofodbcd -lib -g -c -debug -odbcd.lib D:\D\db_sql\odbcd\wrappers.d(149): Error: identifier 'Time' is not defined D:\D\db_sql\odbcd\wrappers.d(149): Error: Time is used as a type D:\D\db_sql\odbcd\wrappers.d(149): Error: variable wrappers.TimeObj.value voids have no value D:\D\db_sql\odbcd\wrappers.d(150): Error: identifier 'Time' is not defined D:\D\db_sql\odbcd\wrappers.d(150): Error: Time is used as a type D:\D\db_sql\odbcd\wrappers.d(150): Error: cannot have parameter of type void D:\D\db_sql\odbcd\wrappers.d(151): Error: identifier 'Time' is not defined D:\D\db_sql\odbcd\wrappers.d(151): Error: Time is used as a type D:\D\db_sql\odbcd\odbcd.d(1168): Error: identifier 'Time' is not defined D:\D\db_sql\odbcd\odbcd.d(1168): Error: Time is used as a type D:\D\db_sql\odbcd\odbcd.d(2773): Error: identifier 'Time' is not defined D:\D\db_sql\odbcd\odbcd.d(2773): Error: Time is used as a type
May 28 2009