connecting to sql server database using C++ program

Please support our C++ advertiser: Intel Parallel Studio Home
Reply

Join Date: Jun 2006
Posts: 4
Reputation: arunnic is an unknown quantity at this point 
Solved Threads: 0
arunnic arunnic is offline Offline
Newbie Poster

connecting to sql server database using C++ program

 
0
  #1
Jun 6th, 2006
hi frnds,
how can we connect to a sql server database using C++ program.can anyone pls post a code for this ...
Reply With Quote Quick reply to this message  
Join Date: Aug 2005
Posts: 15,343
Reputation: Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute 
Solved Threads: 1460
Team Colleague
Featured Poster
Ancient Dragon's Avatar
Ancient Dragon Ancient Dragon is offline Offline
Still Learning

Re: connecting to sql server database using C++ program

 
0
  #2
Jun 6th, 2006
most common way is via ODBC -- use google to search for ODBC and you will find some c++ classes.
Reply With Quote Quick reply to this message  
Join Date: Aug 2009
Posts: 1
Reputation: iresha is an unknown quantity at this point 
Solved Threads: 0
iresha iresha is offline Offline
Newbie Poster

Re: connecting to sql server database using C++ program

 
0
  #3
Aug 12th, 2009
Here is a pretty fine example on how you can get this done

Connecting To SQL Server Using C++ ODBC Example
Reply With Quote Quick reply to this message  
Join Date: Apr 2008
Posts: 116
Reputation: marco93 is infamous around these parts marco93 is infamous around these parts marco93 is infamous around these parts 
Solved Threads: 12
marco93 marco93 is offline Offline
Junior Poster

Re: connecting to sql server database using C++ program

 
0
  #4
Aug 12th, 2009
Originally Posted by iresha View Post
Here is a pretty fine example on how you can get this done
Is it a joke ?
It's a copy of one of the MSDN KB samples !!!
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:


Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC