On a database fresh install you can skip this step.
To complete the Oracle database patch installation, do the following:
-
Open a Command Prompt window as an administrator.
-
Type the following commands:
set ORACLE_HOME=C:\oracle\18c_Sta\db
set ORACLE_SID=SMAT
set PATH=%ORACLE_HOME%\Opatch;%ORACLE_HOME%\perl\bin;%PATH%
-
Startup in upgrade mode: startup upgrade
-
Change to %ORACLE_HOME%\Opatch directory and execute "datapatch -verbose"
-
If the installation completes successfully, these messages should be displayed:
Patch 28267731 rollback: SUCCESS
Patch 29589622 apply: SUCCESS
Patch 29249584 apply: SUCCESS
-
Close the Command Prompt window.
-
Reboot your database server.
-
Make sure that the Oracle service is running before you continue with the next step.
In case of problems during patch installation, see Errors during Oracle patch installation in the Troubleshooting section.