For an Oracle beginner, using the Oracle 11g Express Edition version feels enough, and the installation process seems to be a lot easier.
Download the compressed file, unzip it, find setup.exe and double-click to install it. Except for changing the installation path, the other defaults are all the way through.
After installation, log in to Oracle as a common user, common username/password: scott/tiger
Since ordinary users are locked by default, the following operations are required to unlock:
+ First log in with the system user: SQL>conn sys/password as sysdba
+Import the scott.sql script (which can be found in the Oracle installation directory), such as the path of my local machine, the import can be written as: @H :\ oraclexe \app\oracle\product\11.2.0\server\rdbms\admin \scott.sql
+ Next enter: alter user scott identified by tiger; --modify scott password
+ alter user scott account unlock; --unlock user
+ conn scott/tiger (login as scott)
show user (to see if the current user is scott)
SELECT * FROM emp;
Then we can view the complete content of the emp table. In order to better display the contents of the table, you can set the display properties:
SET LINESIZE 300;
At this point, Oracle installation is complete, and you can start your Oracle exploration and development journey with all your strength!
refer to:
Install Oracle 11g XE (Express Edition) under Windows