Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Odbc connection

5 views
Skip to first unread message

Schuml

unread,
May 13, 2009, 11:54:06 AM5/13/09
to
How do you connect to a sql server

Pak-Ming Cheung - MSFT

unread,
May 20, 2009, 11:59:01 PM5/20/09
to
This question is a bit big. :-)
Which version of SQL Server are you working on?

There are various methods to connect to SQL Server:

For native code (C/C++), the recommended way is to use ODBC. Please use SQL
Server Native Client 10.0, which can be downloaded from "Microsoft SQL Server
2008 Native Client" at
http://www.microsoft.com/downloads/details.aspx?FamilyId=C6C3E9EF-BA29-4A43-8D69-A2BED18FE73C&displaylang=en

For managed code (C#), you can use ADO.NET.

It also supports the connectivity via PHP, Java, etc.

Thanks,
Ming.
WDAC Team, Microsoft.

P.S. We recommend customers to use the forum to ask questions in the future,
where you can obtain a faster response (Forum is at:
http://social.msdn.microsoft.com/forums/en-US/sqldataaccess/threads/)

0 new messages