What's the best way to determine which version of Oracle client I'm running?

前端 未结 14 1939
遥遥无期
遥遥无期 2020-12-12 23:46

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 su

14条回答
  •  旧巷少年郎
    2020-12-13 00:00

    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');
    

提交回复
热议问题