The subject says it all: What is the best way to determine the exact version of the oracle client I'm running? Our clients are all running Windows.
I found one suggestion to run the tnsping utility, without parameters, which does display the version information. Is there a better way?
Does the client install put this information in any sort of text file?
Hi, In the sql plus prompt type. SQL> select * from v$version; You will get your oracle client verison.
Oracle Database 19c is the latest Long Term Release with the widest window of support duration. For details about database releases and their support timeframes, refer to Oracle Support Document 742060.1 (Release Schedule of Current Database Releases) on My Oracle Support.
Go to a different directory from the one on which you installed Oracle's Instant Client and enter the following command: sqlplus scott@bigdb/tiger select user from dual; If this test is successful, you are ready to use the run-time.
TNSPing command line will show the version. similarly, sqlPlus.exe will print its version. You can also go to the readme files in the 'relnotes' directory of your client install. Version 10.2 has a file named README_jdbc.txt, for example, which will tell you which version has been installed.
You can use the v$session_connect_info
view against the current session ID (SID
from the USERENV
namespace in SYS_CONTEXT
).
e.g.
SELECT DISTINCT s.client_version FROM v$session_connect_info s WHERE s.sid = SYS_CONTEXT('USERENV', 'SID');
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With