How to install HR schema in Oracle Database 23c running in Oracle Linux 8 - Human Resources Schema

Опубликовано: 22 Июнь 2023
на канале: java frm
633
2

1. Extract the downloaded oracle sample schema scripts to ORACLE_HOME/demo/schema
2. Change directory to human_resources.
3. Modify the tnsnames.ora to add freepdb1 (pluggable database) as service and restart the oracle listener service.
4. Check the freepdb1 is opened in read write mode before executing the queries, else execute this query
alter pluggable database freepdb1 open read write;
5. Now login to sqlplus like "sys@freepdb1 as sysdba". You can directly login to freepdb1 pluggable database because you already added entry to tnsnames.ora
6. Execute the hr_install.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 "freepdb1" and check all objects are available in the schema.

Download link: Sample schemas for 23c can be downloaded from
https://github.com/oracle-samples/db-...

#oracle23c #23c #oracledatabase23c #oracledatabase #oracle #hr #hrschema #sampleschemas #sampledatabase #oracledba #oracleinstallation #oracletutorial


Смотрите видео How to install HR schema in Oracle Database 23c running in Oracle Linux 8 - Human Resources Schema онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь java frm 22 Июнь 2023, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 63 раз и оно понравилось людям.