Database Connection

Posted on 2004-04-26
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
Question by:91mustang
  • 2

Expert Comment

ID: 10921260
It shouldn't be that hard because both of the databases support ODBC (IIRC).  Here are some links for ODBC and MySQL.

Author Comment

ID: 10924748
any example code?

Accepted Solution

rminnich earned 50 total points
ID: 10931697

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Cross compile release version of c++ program for linux 2 139
Writing a parser for java language 4 91
How to split this in C++ 4 119
Unresolved External Symbols 3 129
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…
This article will show you some of the more useful Standard Template Library (STL) algorithms through the use of working examples.  You will learn about how these algorithms fit into the STL architecture, how they work with STL containers, and why t…
The viewer will learn how to use the return statement in functions in C++. The video will also teach the user how to pass data to a function and have the function return data back for further processing.
The viewer will learn additional member functions of the vector class. Specifically, the capacity and swap member functions will be introduced.

749 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