PDA

View Full Version : ANSI Embedded SQL, OCI, ODBC what should I use?


alederer
03-17-2004, 11:57 PM
Hallo!

I have an application currently using Oracle Dynamic SQL Method 4 to
access the database.

Because of new requirements which can't be handled with Oracle Dynamic
SQL Method 4 ( unicode and LOBS), I have to rewrite the interface.

But which kind of interface should I use?

The interface must be available on all plattforms i need: Windows, AIX,
Solaris, Linux.

ANSI Dynamic SQL Method4 sounds that it should be not much effort to
rewrite the current Oracle Dynamic Method 4 code.

What are the advantages of OCI ?

Because the application has also a ODBC db interface, this can also be a
option. But are there all things supported via ODBC (LOBs, unicode) ? Is
the ODBC interface of oracle available on all plattforms?

Whats about the performance issues of the different interfaces?

I am grateful for any information or links to further information which
is useful to make my decision.

thanks
andreas

Mark Tomlinson
03-24-2004, 06:33 AM
OCI would be pretty much the same on all of the platforms. It has the
advantage of being more flexible than Pro*C (and more readable to some).

ODBC is an option, but currently Oracle only provides ODBC drivers for
Windows platforms (and soon on Linux). You can check out the Merant drivers
as they seem to be decen, but they are not free. I don't know which
platforms they cover, but their site should have a list.

Mark

"alederer" <alederer@gmx.at> wrote in message
news:4059564e@e-post.inode.at... Hallo! I have an application currently using Oracle Dynamic SQL Method 4 to access the database. Because of new requirements which can't be handled with Oracle Dynamic SQL Method 4 ( unicode and LOBS), I have to rewrite the interface. But which kind of interface should I use? The interface must be available on all plattforms i need: Windows, AIX, Solaris, Linux. ANSI Dynamic SQL Method4 sounds that it should be not much effort to rewrite the current Oracle Dynamic Method 4 code. What are the advantages of OCI ? Because the application has also a ODBC db interface, this can also be a option. But are there all things supported via ODBC (LOBs, unicode) ? Is the ODBC interface of oracle available on all plattforms? Whats about the performance issues of the different interfaces? I am grateful for any information or links to further information which is useful to make my decision. thanks andreas


MyLounge.com Site Map
Forum: Cars, Cell Phone, Database, Games, Home Improvement, IT, Music, School, Sports, Web Design, Web Server, Weight Loss

The MyLounge.com forum is intended for informational use only and should not be relied upon and is not a substitute for any advice. The information contained on MyLounge.com are opinions and suggestions of members and is not a representation of the opinions of MyLounge.com. MyLounge.com does not warrant or vouch for the accuracy, completeness or usefulness of any postings or the qualifications of any person responding. Please consult a expert or seek the services of an attorney in your area for more accuracy on your specific situation. Please note that our forums also serve as mirrors to Usenet newsgroups. Many posts you see on our forums are made by newsgroup users who may not be members of MyLounge.com Term of Service