View the Oracle database version in CentOS

Source: Internet
Author: User
Method 1: v $ version database training SQL & gt; select * fromv $ version; BANNER ---------------------------------------------------------------------------------- OracleDatabase11gEnter

Method 1: v $ version database training

SQL> select * from v $ version;

BANNER

--------------------------------------------------------------------------------

Oracle Database 11g Enterprise Edition Release 11.1.0.7.0-64bit Production

PL/SQL Release 11.1.0.7.0-Production

CORE 11.1.0.7.0 Production

TNS for Linux: Version 11.1.0.7.0-Production

NLSRTL Version 11.1.0.7.0-Production

Method 2: product_component_version

SQL> select * from product_component_version;

PRODUCT VERSION STATUS

Bytes ---------------------------------------------------------------------------------------------

NLSRTL 11.1.0.7.0 Production

Oracle Database 11g Enterprise Edition 11.1.0.7.0 64bit Production

PL/SQL 11.1.0.7.0 Production

TNS for Linux: 11.1.0.7.0 Production

SQL>

Method 3: dbms_output.put_line (dbms_db_version.version)

SQL> SET SERVEROUTPUT ON

SQL> EXEC dbms_output.put_line (dbms_db_version.version );

11 PL/SQL procedure successfully completed.

SQL>

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.