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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Introduction This article is a continuation of the C/C++ Visual Studio Express debugger series. Part 1 provided a quick start guide in using the debugger. Part 2 focused on additional topics in breakpoints. As your assignments become a little more …
This article shows you how to optimize memory allocations in C++ using placement new. Applicable especially to usecases dealing with creation of large number of objects. A brief on problem: Lets take example problem for simplicity: - I have a G…
The viewer will learn how to pass data into a function in C++. This is one step further in using functions. Instead of only printing text onto the console, the function will be able to perform calculations with argumentents given by the user.
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.

920 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

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now