954,498 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

connectivity in Borland C

I have a project in Borland C in which i need to Connect with SQL server 2000 plz give me the code for that.

rajuwani121
Newbie Poster
6 posts since Dec 2005
Reputation Points: 10
Solved Threads: 0
 

Assuming you have a 32-bit version of the compiler, google for ODBC and you will get lots of information. ODBC is the most common way to access any database. There are several free c++ classes on MySql web site and www.codeproject.com . You can access ODBC from either C or C++, but I don't know how much information there is for just C.

You also need to study the SQL language -- google for that too.

Ancient Dragon
Retired & Loving It
Team Colleague
30,049 posts since Aug 2005
Reputation Points: 5,662
Solved Threads: 2,343
 

Assuming you have a 32-bit version of the compiler, google for ODBC and you will get lots of information. ODBC is the most common way to access any database. There are several free c++ classes on MySql web site and www.codeproject.com . You can access ODBC from either C or C++, but I don't know how much information there is for just C.

You also need to study the SQL language -- google for that too.

I just need the code for connecting the sql server 2000 using borland c

rajuwani121
Newbie Poster
6 posts since Dec 2005
Reputation Points: 10
Solved Threads: 0
 
I just need the code for connecting the sql server 2000 using borland c


No one will write code for you...
Here is library for accessing SQL... Link
it contains lot of examples...modify it according to your needs

SpS
Posting Pro
599 posts since Aug 2005
Reputation Points: 70
Solved Threads: 32
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You