Quantcast
Channel: My HowTo » Database
Viewing all articles
Browse latest Browse all 11

ORACLE – Install the HR Schema from Oracle Database Examples

$
0
0

1. Click the “See All” link next to Oracle Database Software Download link to find and download the “Oracle Database Examples” .zip file

oracle_12c_create_database_018

2. unzip the .zip file and run “setup.exe”

image

3. Log on to SQL*Plus as SYS and connect using the AS SYSDBA privilege.

sqlplus connect sys as sysdba
Enter password: password

4. run the hr_main.sql script, use the following command:

SQL> @?/demo/schema/human_resources/hr_main.sql

5. Enter the parameters required by the hr_mail.sql script

image

6. Connect to the HR schema with username “hr” with Oracle SQL developer

oracle_12c_create_database_0146

ref: https://docs.oracle.com/database/121/COMSC/installation.htm#COMSC00004


Viewing all articles
Browse latest Browse all 11

Trending Articles