RE: Find client version

  • From: "Mercadante, Thomas F" <thomas.mercadante@xxxxxxxxxxxxxxxxx>
  • To: "'Rudy.Zung@xxxxxxx'" <Rudy.Zung@xxxxxxx>, oracle-l@xxxxxxxxxxxxx
  • Date: Fri, 12 Nov 2004 07:49:30 -0500

Rudy,

Why do you need to know what version your client is using?  Wouldn't it be
easier just to program for the lowest common version in your environment?
And, just curious, what capability is in the 10g version that is not in the
8i version is giving you problems?

Tom Mercadante
Oracle Certified Professional


-----Original Message-----
From: Rudy Zung [mailto:Rudy.Zung@xxxxxxx] 
Sent: Thursday, November 11, 2004 10:36 AM
To: oracle-l@xxxxxxxxxxxxx
Subject: RE: Find client version



Not quite what I was looking for. Our developers are
going to have a need for both 8i and 10g clients on=20
their machines; they'll be developing under ColdFusion.
After a connection has been made to an Oracle server,
we need the session itself to find out what version
of Oracle client got fired up to make the connection.

But, thanks for your answer anyway.

...Rudy


-----Original Message-----
From: Jeremiah Wilton [mailto:jwilton@xxxxxxxxxxxxx]=20
Sent: Wednesday, November 10, 2004 6:09 PM
To: Rudy Zung
Cc: oracle-l@xxxxxxxxxxxxx
Subject: Re: Find client version


On Wed, 10 Nov 2004, Rudy Zung wrote:

> Is there any way to programatically determine what=3D20 version of 
> client that I'm using?

You can find the client version in the client shared library:

strings $ORACLE_HOME/lib/libclntsh.so | grep ^Version

Not sure if this helps you.  I suspect there is an OCI call you can make to
get this, but I didn't take the time to search around for it.

--
Jeremiah Wilton
Independent Oracle Professional
Oracle Certified Master
Disaster Recovery - Seminars - Technical Interviews
http://www.speakeasy.net/~jwilton
--
//www.freelists.org/webpage/oracle-l
--
//www.freelists.org/webpage/oracle-l

Other related posts: