Home » SQL & PL/SQL » SQL & PL/SQL » How to find version of the database
How to find version of the database [message #10660] Sun, 08 February 2004 20:36 Go to next message
S.Rajesh Kannan
Messages: 26
Registered: September 2003
Junior Member
How to find version of the oracle database through SQL Query?.

Thanks in advance.

S.Rajesh Kannan
Re: How to find version of the database [message #10665 is a reply to message #10660] Sun, 08 February 2004 23:44 Go to previous messageGo to next message
Maaher
Messages: 7065
Registered: December 2001
Senior Member
Select Banner From v$version:
SQL> Select banner
  2    From v$version;

BANNER
----------------------------------------------------------------
Personal Oracle9i Release 9.2.0.4.0 - Production
PL/SQL Release 9.2.0.4.0 - Production
CORE    9.2.0.3.0       Production
TNS for 32-bit Windows: Version 9.2.0.4.0 - Production
NLSRTL Version 9.2.0.4.0 - Production

SQL> 
MHE
Re: How to find version of the database [message #10728 is a reply to message #10660] Thu, 12 February 2004 08:56 Go to previous message
William Robertson
Messages: 1643
Registered: August 2003
Location: London, UK
Senior Member
For variety you could also use DBMS_UTILITY.DB_VERSION:

SQL> var version varchar2(20)
SQL> var compatibility varchar2(20)
SQL> set autoprint on
SQL> exec DBMS_UTILITY.DB_VERSION(:version, :compatibility)

PL/SQL procedure successfully completed.

COMPATIBILITY
--------------------------------
9.2.0.0.0

VERSION
--------------------------------
9.2.0.4.0

SQL>
Previous Topic: OWA_UTIL.CALENDARPRINT
Next Topic: Sql_loader question
Goto Forum:
  


Current Time: Fri Apr 26 08:34:15 CDT 2024