Home > Database > Oracle > body text

How to check the version of oracle?

青灯夜游
Release: 2020-08-20 16:40:05
Original
38700 people have browsed it

View method: 1. Open xshell and log in to the server, first switch to the oracle user; enter "sqlplus / as sysdba" on the command line to view; 2. Log in to oracle in plsql, create a new sql window and enter "select * from v$version" command.

How to check the version of oracle?

How to check the oracle version?

Method 1:

Open xshell to log in to the server, first switch to the oracle user

Then enter on the command line sqlplus / as sysdba

Press Enter to print out the version information

How to check the version of oracle?

The output information shows that the Oracle version is 11.2.0.1.0, please Look at the red box in the image below.

How to check the version of oracle?

Method 2:

Open plsql, the login interface will pop up, enter the oracle username and password, click ok to log in

After logging in, create a new sql window and enter the following SQL

select * from v$version;
Copy after login

How to check the version of oracle?

You can choose the execute button to execute, or you can directly press the F8 shortcut key to execute. The result is as shown in the figure below Show

How to check the version of oracle?

Recommended tutorial: "Oracle Tutorial"

The above is the detailed content of How to check the version of oracle?. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template