Xref: alice comp.databases.oracle.server:70567 comp.databases.oracle.tools:34084
Path: alice!news-feed.fnsi.net!newsfeed.icl.net!newsfeed.nacamar.de!rz.uni-karlsruhe.de!schlund.de!news.online.de!zeus.ghosh.de!nobody
From: Amit Ghosh <mail@ghosh.de>
Newsgroups: comp.databases.oracle.server,comp.databases.oracle.tools
Subject: Re: Connect to ORACLE using C++ on UNIX ?
Date: Wed, 20 Oct 1999 14:33:19 +0200
Organization: n/a
Lines: 47
Message-ID: <380DB68E.3957ACA4@ghosh.de>
References: <7uk4pn$70u$1@bagan.srce.hr>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Trace: news.online.de 940422851 4988 62.156.6.103 (20 Oct 1999 12:34:11 GMT)
X-Complaints-To: abuse@online.de
NNTP-Posting-Date: 20 Oct 1999 12:34:11 GMT
X-Mailer: Mozilla 4.61 [en] (X11; I; Linux 2.2.10 i686)
X-Accept-Language: de, en

keso wrote:
> 
> Hi gurus!
> 
> I have one question for you.
> I am familiar with connecting to ORACLE via ODBC on Windows,
> but now I need it on UNIX (and I don't know almost nothing about UNIX).
> What are the options to do it and what software will I need ?
> 
> thanks in advance,
> 
> Vedran

I'm currently porting a daemon from NT to UNIX and I use OCI calls
on both platforms. OCI is bundled with Oracle, so there is no 
additional software you'll need. Porting the Oracle-level is
trivial, since there are no visible differences in the API on both 
platforms (AFAIK). 

Another option would be Pro/C wich is a precompiler (also bundled
with Oracle) for embedded SQL (never used it by myself, since I feel 
very comfortable using OCI an I hate this precompiling stuff).

But be warned. Porting to one of the above most probably means 
rewriting most of your application (if you're into porting). 

Surfing the Web I recently read something about ODBC for UNIX
(at least for Linux). Sorry, but I can't remember the URL.
Maybe this will be the best option for you, since you know
this ODBC stuff. ODBC/UNIX will be ok, if timeline is your 
primary goal and performance isn't a critical factor.


If there is enough time for learning, I would choose OCI. 
But these are just my 0.02$


Hope this helps.



Regards


-- 
Amit Ghosh
mailto:mail@ghosh.de
