Solved

Database Connection

Posted on 2004-04-26
3
323 Views
Last Modified: 2010-04-01
Hello, I am mainly a java developer (please don't hold it against me) . I have been given the task of modifying a old parsing app which is written in c++. Currently the app parses a file and writes it in a user friendly format. Now I need to modify it, so it inserts the data into mysql and oracle database.

How hard is it to get connection. Any helpful code snippets...links, api's

Any info is appreciated.. thanks
0
Comment
Question by:91mustang
  • 2
3 Comments
 
LVL 1

Expert Comment

by:rminnich
ID: 10921260
It shouldn't be that hard because both of the databases support ODBC (IIRC).  Here are some links for ODBC and MySQL.
http://dev.mysql.com/doc/connector/odbc/en/faq_toc.html
http://dev.mysql.com/doc/
http://dev.mysql.com/doc/connector/odbc/en/manual_toc.html
0
 
LVL 4

Author Comment

by:91mustang
ID: 10924748
any example code?
0
 
LVL 1

Accepted Solution

by:
rminnich earned 50 total points
ID: 10931697
0

Featured Post

Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction This article is the first in a series of articles about the C/C++ Visual Studio Express debugger.  It provides a quick start guide in using the debugger. Part 2 focuses on additional topics in breakpoints.  Lastly, Part 3 focuses on th…
  Included as part of the C++ Standard Template Library (STL) is a collection of generic containers. Each of these containers serves a different purpose and has different pros and cons. It is often difficult to decide which container to use and …
The viewer will learn how to clear a vector as well as how to detect empty vectors in C++.
The viewer will be introduced to the member functions push_back and pop_back of the vector class. The video will teach the difference between the two as well as how to use each one along with its functionality.

785 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question