943,503 Members | Top Members by Rank

Ad:
  • C++ Discussion Thread
  • Unsolved
  • Views: 15027
  • C++ RSS
Aug 30th, 2004
1

database connectivity in c++

Expand Post »
How to use Data base connectivity in c++, files are not very useful..
Similar Threads
Reputation Points: 11
Solved Threads: 0
Newbie Poster
animesh is offline Offline
7 posts
since Jul 2004
Aug 31st, 2004
1

Re: database connectivity in c++

Quote 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:
Reputation Points: 19
Solved Threads: 0
Light Poster
BlackDice is offline Offline
43 posts
since Apr 2004
Aug 31st, 2004
0

Re: database connectivity in c++

using either oracle or sql , not much knowledge of odbc etc..
Reputation Points: 11
Solved Threads: 0
Newbie Poster
animesh is offline Offline
7 posts
since Jul 2004
Aug 31st, 2004
0

Re: database connectivity in c++

Quote 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
Reputation Points: 19
Solved Threads: 0
Light Poster
BlackDice is offline Offline
43 posts
since Apr 2004
Aug 31st, 2004
1

Re: database connectivity in c++

Reputation Points: 13
Solved Threads: 0
Newbie Poster
hivework is offline Offline
18 posts
since Mar 2004
Sep 4th, 2004
0

Re: database connectivity in c++

Quote 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 .
Reputation Points: 11
Solved Threads: 0
Newbie Poster
animesh is offline Offline
7 posts
since Jul 2004
Sep 6th, 2004
0

Re: database connectivity in c++

Quote 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.
Reputation Points: 19
Solved Threads: 0
Light Poster
BlackDice is offline Offline
43 posts
since Apr 2004
Sep 6th, 2004
0

Re: database connectivity in c++

Quote 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 .
Reputation Points: 11
Solved Threads: 0
Newbie Poster
animesh is offline Offline
7 posts
since Jul 2004
Mar 27th, 2007
-1

Re: database connectivity in c++

can u give the code that how u r using c++ to connect to database

Click to Expand / Collapse  Quote originally posted by animesh ...
thanks very much mr.bdiamond .
Reputation Points: 9
Solved Threads: 0
Newbie Poster
amit chhillar is offline Offline
1 posts
since Mar 2007
Mar 30th, 2007
0

Re: database connectivity in c++

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.
Reputation Points: 10
Solved Threads: 0
Newbie Poster
crazylunatic is offline Offline
13 posts
since Mar 2007

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in C++ Forum Timeline: ATL, CLR and MFC????
Next Thread in C++ Forum Timeline: password function (c++)





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC