database connectivity in c++

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

Join Date: Jul 2004
Posts: 7
Reputation: animesh is an unknown quantity at this point 
Solved Threads: 0
animesh animesh is offline Offline
Newbie Poster

database connectivity in c++

 
1
  #1
Aug 30th, 2004
How to use Data base connectivity in c++, files are not very useful..
Reply With Quote Quick reply to this message  
Join Date: Apr 2004
Posts: 45
Reputation: BlackDice is an unknown quantity at this point 
Solved Threads: 0
BlackDice's Avatar
BlackDice BlackDice is offline Offline
Light Poster

Re: database connectivity in c++

 
1
  #2
Aug 31st, 2004
Originally Posted by animesh
How to use Data base connectivity in c++, files are not very useful..
Depends on which technology you want to use. ODBC, ADO, DAO, OLE DB? You have to be more specific. If you want to use ADO, let me know and I'll try to post some stuff. :lol:
Reply With Quote Quick reply to this message  
Join Date: Jul 2004
Posts: 7
Reputation: animesh is an unknown quantity at this point 
Solved Threads: 0
animesh animesh is offline Offline
Newbie Poster

Re: database connectivity in c++

 
0
  #3
Aug 31st, 2004
using either oracle or sql , not much knowledge of odbc etc..
Reply With Quote Quick reply to this message  
Join Date: Apr 2004
Posts: 45
Reputation: BlackDice is an unknown quantity at this point 
Solved Threads: 0
BlackDice's Avatar
BlackDice BlackDice is offline Offline
Light Poster

Re: database connectivity in c++

 
0
  #4
Aug 31st, 2004
Originally Posted by animesh
using either oracle or sql , not much knowledge of odbc etc..
I can't really help until you have a better grasp on what you want to do
Reply With Quote Quick reply to this message  
Join Date: Mar 2004
Posts: 18
Reputation: hivework is an unknown quantity at this point 
Solved Threads: 0
hivework hivework is offline Offline
Newbie Poster

Re: database connectivity in c++

 
1
  #5
Aug 31st, 2004
Reply With Quote Quick reply to this message  
Join Date: Jul 2004
Posts: 7
Reputation: animesh is an unknown quantity at this point 
Solved Threads: 0
animesh animesh is offline Offline
Newbie Poster

Re: database connectivity in c++

 
0
  #6
Sep 4th, 2004
Originally Posted by bdiamond
I can't really help until you have a better grasp on what you want to do
I need to know about odbc connectivity , can c++ use all kinds of data base connectiviteis .
Reply With Quote Quick reply to this message  
Join Date: Apr 2004
Posts: 45
Reputation: BlackDice is an unknown quantity at this point 
Solved Threads: 0
BlackDice's Avatar
BlackDice BlackDice is offline Offline
Light Poster

Re: database connectivity in c++

 
0
  #7
Sep 6th, 2004
Originally Posted by animesh
I need to know about odbc connectivity , can c++ use all kinds of data base connectiviteis .
As far as I know, C++ can use all kinds of db connectivity. I prefer to use ADO myself. ADO (ActiveX Data Objects) allow you to connect to just about any data source, but with an easier interface than using ODBC. The specific technologies you spoke aboujt earlier were only pieces of the puzzle that didn't seem like you knew how they fitted together. Usually, if you're using a technology like Oracle, SQL Server, or MySQL, that is just your back-end that holds the actual database. SQL is the set of commands and syntax used through ODBC to perform the operations on the data at that back end. ADO, DAO, and OLE DB are higher level interfaces for working with ODBC.
Reply With Quote Quick reply to this message  
Join Date: Jul 2004
Posts: 7
Reputation: animesh is an unknown quantity at this point 
Solved Threads: 0
animesh animesh is offline Offline
Newbie Poster

Re: database connectivity in c++

 
0
  #8
Sep 6th, 2004
Originally Posted by bdiamond
As far as I know, C++ can use all kinds of db connectivity. I prefer to use ADO myself. ADO (ActiveX Data Objects) allow you to connect to just about any data source, but with an easier interface than using ODBC. The specific technologies you spoke aboujt earlier were only pieces of the puzzle that didn't seem like you knew how they fitted together. Usually, if you're using a technology like Oracle, SQL Server, or MySQL, that is just your back-end that holds the actual database. SQL is the set of commands and syntax used through ODBC to perform the operations on the data at that back end. ADO, DAO, and OLE DB are higher level interfaces for working with ODBC.
thanks very much mr.bdiamond .
Reply With Quote Quick reply to this message  
Join Date: Mar 2007
Posts: 1
Reputation: amit chhillar is an unknown quantity at this point 
Solved Threads: 0
amit chhillar amit chhillar is offline Offline
Newbie Poster

Re: database connectivity in c++

 
-1
  #9
Mar 27th, 2007
can u give the code that how u r using c++ to connect to database

Originally Posted by animesh View Post
thanks very much mr.bdiamond .
Reply With Quote Quick reply to this message  
Join Date: Mar 2007
Posts: 11
Reputation: crazylunatic is an unknown quantity at this point 
Solved Threads: 0
crazylunatic crazylunatic is offline Offline
Newbie Poster

Re: database connectivity in c++

 
0
  #10
Mar 30th, 2007
I too need to use either sqlserver or Mysql with c++.I have done my project with files but I have no idea at all about how to connect with these databases.And I dont have much experience of using ODBC or ADO.Just used ODBC once long time back with VB which was indeed very easy.I am just asking for some suggestions where to start afresh.Found a couple of links by googling but not of much use.Thanks in advance.
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