How to install HR schema in Oracle Database 19c running in Windows - Human Resources Schema

Channel:
Subscribers:
5,740
Published on ● Video Link: https://www.youtube.com/watch?v=G0SgPlwDufU



Category:
Tutorial
Duration: 7:03
9 views
0


1. Extract the downloaded oracle sample schema scripts to ORACLE_HOME\demo\schema
2. Change directory to human_resources and Change the __SUB_CWD__ to absolute path in sql files wherever necessary as shown in the video.
3. Modify the tnsnames.ora to add orclpdb (pluggable database) as service and restart the oracle listener service.
4. Check the orclpdb is opened in read write mode before executing the queries, else execute this query
alter pluggable database orclpdb open read write;
5. Now login to sqlplus like "sys@orclpdb as sysdba". You can directly login to orclpdb pluggable database because you already added entry to tnsnames.ora
6. Execute the hr_main.sql and provide the inputs as shown in the video.
7. After executing check the logs for any errors if no errors you are done.
8. Open the SQL Developer and login as hr/hr and service name as "orclpdb" and check all objects are available in the schema.

Sample database schema can be downloaded from:
https://github.com/oracle-samples/db-sample-schemas/releases/tag/v19.2

#oracledatabase #oracledatabase19c #oracledba #oracletutorial #oracle #installsampleschemas #sampleschemas #sampledatabase #hrschema #hr #oracle19c




Other Videos By java frm


2023-06-21How to execute sql queries during sql plus startup in Oracle Database 19c - glogin.sql in oracle
2023-06-21How to execute sql queries during sql plus startup in Oracle Database 12c - glogin.sql in oracle
2023-06-21How to install IX and BI schema in Oracle Database 21c - Info Exchange and Bus Intelligence Schemas
2023-06-21How to install IX and BI schema in Oracle Database 19c - Info Exchange and Bus Intelligence Schemas
2023-06-21How to install IX and BI schema in Oracle Database 12c - Info Exchange and Bus Intelligence Schemas
2023-06-21How to drop CO schema in Oracle Database 21c - Customer Orders Schema
2023-06-21How to drop CO schema in Oracle Database 19c - Customer Orders Schema
2023-06-21How to install CO schema in Oracle Database 21c running in Windows - Customer Orders Schema
2023-06-21How to install CO schema in Oracle Database 19c running in Windows - Customer Orders Schema
2023-06-21How to install HR schema in Oracle Database 21c running in Windows - Human Resources Schema
2023-06-21How to install HR schema in Oracle Database 19c running in Windows - Human Resources Schema
2023-06-21How to install HR schema in Oracle Database 12c running in Windows - Human Resources Schema
2023-06-21How to drop all sample schemas (HR,OE,PM,SH,IX,BI) in Oracle Database 21c in single shot
2023-06-21How to drop all sample schemas (HR,OE,PM,SH,IX,BI) in Oracle Database 19c in single shot
2023-06-21How to drop all sample schemas (HR,OE,PM,SH,IX,BI) in Oracle Database 12c in single shot
2023-06-21How to install all sample schemas (HR,OE,PM,SH,IX,BI) in Oracle Database 21c in single shot
2023-06-21How to install all sample schemas (HR,OE,PM,SH,IX,BI) in Oracle Database 19c in single shot
2023-06-21How to install all sample schemas (HR,OE,PM,SH,IX,BI) in Oracle Database 12c in single shot
2023-06-21How to drop all sample schemas one by one in Oracle Database 23c FREE
2023-06-21How to install all sample schemas (HR, OE, SH, PM, CO) one by one in Oracle Database 23c FREE
2023-06-21How to connect pluggable database directly from sql plus in Oracle Database 23c FREE



Tags:
how to install hr schema in oracle database 19c
hr schema oracle 19c
unlock hr schema
hr sample schema
unlock hr user
human resources schema oracle 19c
hr user in 19c
how to install sample schema
set up oracle hr schema
enable hr user
install hr schema in pluggable database
oracle database 19c tutorial
oracle dba
oracle administration
oracle tutorial
oracle db
sql for beginners
oracle sql 19c