How to install all sample schemas (HR,OE,PM,SH,IX,BI) in Oracle Database 21c in single shot

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



Category:
Tutorial
Duration: 6:09
8 views
0


1. Extract the downloaded oracle sample schema scripts to ORACLE_HOME\demo\schema
2. Make sure that __SUB_CWD__ is replaced with absolute path in all directories like bus_intelligence, human_resources, info_exchange, order_entry, product_media, sales_history
3. Change directory ORACLE_HOME\demo\schema and Change the __SUB_CWD__ to absolute path in mksample.sql file wherever necessary as shown in the video.
4. Modify the tnsnames.ora to add orclpdb (pluggable database) as service and restart the oracle listener service.
5. 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 mksample.sql 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, oe, sh, pm, ix and bi separately and service name as "orclpdb" and check all objects are available in the schema.

Important Note: Since I am installing in my local machines i will be using connection string as "orclpdb" input while installation of some schemas.
"localhost:1521/orclpdb" also valid connection string.

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

#oracledatabase #oracledatabase21c #oracledba #oracletutorial #oracle #installsampleschemas #sampleschemas #sampledatabase #oracle21c #21c




Other Videos By java frm


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
2023-06-21Playing with FL Studio 21 - Composing Music Patterns using Channel Rack - Music Pattern - 318
2023-06-21Playing with FL Studio 21 - Composing Music Patterns using Channel Rack - Music Pattern - 317
2023-06-21Playing with FL Studio 21 - Composing Music Patterns using Channel Rack - Music Pattern - 316
2023-06-21Playing with FL Studio 21 - Composing Music Patterns using Channel Rack - Music Pattern - 315
2023-06-21Playing with FL Studio 21 - Composing Music Patterns using Channel Rack - Music Pattern - 314



Tags:
how to install all sample schemas in oracle database 21c
all sample schema oracle 21c
unlock all sample schema
sample schema
unlock all users in oracle
sample schema oracle 21c
how to install sample schema
set up oracle sample schema
enable all user
install sample schema in pluggable database
oracle database 21c tutorial
oracle dba
oracle administration
oracle tutorial
oracle db
sql for beginners
oracle sql 21c