dbTalk Databases Forums  

basic ODBC/C++ questions

comp.databases comp.databases


Discuss basic ODBC/C++ questions in the comp.databases forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Larry
 
Posts: n/a

Default basic ODBC/C++ questions - 07-15-2004 , 08:21 PM






Is ODBC a general standard or just represent a way of database
connectivity. If I wanted to write a C++ module using ODBC, is there
a fairly standard API interface or is it completely different on various
platforms and drivers ?

What are some good sources of information on ODBC, particularly for C++
development, books, web sites ? I am interested in the AIX unix platform.

I was told alot of ODBC books are out of print by softpro.

Thanks

Reply With Quote
  #2  
Old   
John Groves
 
Posts: n/a

Default Re: basic ODBC/C++ questions - 07-21-2004 , 02:59 PM






surfunbear (AT) yahoo (DOT) com (Larry) wrote in message news:<fa148c36.0407151721.44c6995e (AT) posting (DOT) google.com>...
Quote:
Is ODBC a general standard or just represent a way of database
connectivity. If I wanted to write a C++ module using ODBC, is there
a fairly standard API interface or is it completely different on various
platforms and drivers ?

What are some good sources of information on ODBC, particularly for C++
development, books, web sites ? I am interested in the AIX unix platform.

I was told alot of ODBC books are out of print by softpro.

Thanks
Hi,

Have a look at www.easysoft.com. I've used cross platform ODBC
drivers from Easysoft so I can connect from AIX to Windows Databases
(SQL Server) using C programs. What is it exactly you are wanting to
know?

Regards,

John


Reply With Quote
  #3  
Old   
Larry
 
Posts: n/a

Default Re: basic ODBC/C++ questions - 07-22-2004 , 09:36 AM



Hi,

Well I've gotten farther along but thanks for answering my question.
I have perl working through DBI. I am wondering if that will be fast
enough
or if I can somehow redirect the result sets returned from perl to
a C++ program in an efficient way that won't involve alot of overhead
or if I should look into ODBC with C++. We don't have ODBC set up on
aix
and I imagine I might need some C++ libraries to link to etc. That
might take time, money, research, and conving people at work of the
need etc. On the
other hand if I could get C++ to interact with perl/DBI and without
taking a performance hit it might be worth looking into. I would just
use perl to interface to the database but use C++ to process the
result sets since perl might be slower on result set processing. This
is assuming that I can get the result set from perl fast enough which
why wouldn't I and if perl is just returning result sets, why would
that be slow. Some perl/DBI documentation seems to indicate that
perl/DBI works fast in that regard. There is also a DBI/proxy server
so that I could have linux perl with DBI/ODBC talk to aix perl/DBI
even though there is no ODBC installed on aix. It goes transparently
through the proxy encripted and compressed.


john.groves (AT) thinkoutsource (DOT) co.uk (John Groves) wrote in message news:<5d28ec7e.0407211159.68ddb732 (AT) posting (DOT) google.com>...
Quote:
surfunbear (AT) yahoo (DOT) com (Larry) wrote in message news:<fa148c36.0407151721.44c6995e (AT) posting (DOT) google.com>...
Is ODBC a general standard or just represent a way of database
connectivity. If I wanted to write a C++ module using ODBC, is there
a fairly standard API interface or is it completely different on various
platforms and drivers ?

What are some good sources of information on ODBC, particularly for C++
development, books, web sites ? I am interested in the AIX unix platform.

I was told alot of ODBC books are out of print by softpro.

Thanks

Hi,

Have a look at www.easysoft.com. I've used cross platform ODBC
drivers from Easysoft so I can connect from AIX to Windows Databases
(SQL Server) using C programs. What is it exactly you are wanting to
know?

Regards,

John

Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.