?
Solved

Database Connection

Posted on 2004-04-26
3
Medium Priority
?
329 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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 200 total points
ID: 10931697
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Errors will happen. It is a fact of life for the programmer. How and when errors are detected have a great impact on quality and cost of a product. It is better to detect errors at compile time, when possible and practical. Errors that make their wa…
C++ Properties One feature missing from standard C++ that you will find in many other Object Oriented Programming languages is something called a Property (http://www.experts-exchange.com/Programming/Languages/CPP/A_3912-Object-Properties-in-C.ht…
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 be introduced to the technique of using vectors in C++. The video will cover how to define a vector, store values in the vector and retrieve data from the values stored in the vector.
Suggested Courses

764 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