Re: how can i connect the sql server2000 in c++



You can use either ODBC, OLE DB or ADO. ADO uses OLE DB internally and may
be the easiest to use. OLE DB can be difficult to use properly. ODBC may
be the fastest to learn.

This has links to all three.
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnanchor/html/anch_dataaccess.asp

--
This posting is provided "AS IS", with no warranties, and confers no rights.
Please do not send email directly to this alias. This alias is for newsgroup
purposes only.

"slg" <sailingo@xxxxxxxxx> wrote in message
news:1129089061.246222.152390@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
>
> hi,i am a learner of c/c++,now i meet a question,i want to use c/c++
> conncect the sql server 2000,but i don't know how to do that,anyone who
> can tell me?(bye the way,i like the method use in the pure c/c++,no use
> the MFC,) i also want to know how other programs language conncect to
> the database's method,thanks:)
>


.



Relevant Pages

  • RE: Connection from ASP- ODBC vs. SQLOLEDB
    ... script, ADO is preferable. ... ODBC is an API for database access that's both a formal and a de facto ... call-level interface standard by American National Standards Institute ... OLE DB ...
    (microsoft.public.sqlserver.server)
  • Re: ADO
    ... ADO is the programming interface to ODBC, ... the drivers, your assumption is correct. ... All of the above 4 programming interfaces can communicate with ODBC and OLE ...
    (microsoft.public.sqlserver.server)
  • Re: Geschwindigkeit von ADO
    ... nur um das noch mal klar zu stellen: Man kann/darf ADO nicht mit ODBC ... Datenzugriffsmechanismen stecken im OLE DB bzw. ODBC Treiber. ... Fall mit einem ADO Objekt zugreifen. ...
    (microsoft.public.de.fox)
  • Re: Geschwindigkeit von ADO
    ... > Datenzugriffsmechanismen stecken im OLE DB bzw. ODBC Treiber. ... > Fall mit einem ADO Objekt zugreifen. ...
    (microsoft.public.de.fox)
  • Re: Favorisierter Zugriff auf Access DB
    ... > Ich habe persönlich bisher nur mit ODBC und DAO gearbeitet. ... Wenn du schon mit DAO gearbeitet hast sollte dir die Umstellung auf ADO ... Martin's Favorit OLE DB fand ich etwas mühsamer in der Einarbeitung, ...
    (microsoft.public.de.vc)