how to write portable database access code?

N

nickel

I can access Microsoft Access database via ODBC on windows 2000
using C++ . Now, I would like to use the SAME piece of code to
access MS SQL on Windows. Can I achieve this without any modification
to my existing codes?

Then, I would like to use the SAME piece of codes to access Oracle on
Windows? Is it possible?

thanks in advance
 
E

E. Robert Tisdale

nickel said:
I can access Microsoft Access database
via ODBC on windows 2000 using C++.
Now, I would like to use the SAME piece of code
to access MS SQL on Windows.

Of course.
Can I achieve this without any modification to my existing codes?

Then, I would like to use the SAME piece of codes
to access Oracle on Windows.
Is it possible?

Unfortunately, you're asking in the wrong place.
Try one of the Microsoft Windows newsgroups.
Come back here when you have some specific questions
about [standard] C++. Best of luck to you.
 
V

Victor Bazarov

nickel said:
I can access Microsoft Access database via ODBC on windows 2000
using C++ . Now, I would like to use the SAME piece of code to
access MS SQL on Windows. Can I achieve this without any modification
to my existing codes?

Then, I would like to use the SAME piece of codes to access Oracle on
Windows? Is it possible?

Probably. You should ask in a newsgroup that discusses ODBC. This
one (comp.lang.c++) is not it. Here we discuss standard C++ language,
which incidentally has nothing to do with ODBC.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,744
Messages
2,569,484
Members
44,903
Latest member
orderPeak8CBDGummies

Latest Threads

Top