欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页  >  数据库

OCM_Session1_7_SchemaCreation

程序员文章站 2022-05-06 12:16:48
...

7. Schema Creation 7.1 As user SYS, run the script /home/oracle/scripts/create_bishhr.sql Ignore any errors concerning OE. But do not ignore any other errors. 7. Schema Creation 7.1 As user SYS, run the script /home/oracle/scripts/create_b



7. Schema Creation 7.1 As user SYS, run the script /home/oracle/scripts/create_bishhr.sql Ignore any errors concerning OE. But do not ignore any other errors.


7. Schema Creation 7.1 As user SYS, run the script /home/oracle/scripts/create_bishhr.sql Ignore any errors concerning OE. But do not ignore any other errors.
此题主要是跑/home/oracle/scripts/create_bishhr.sql这个脚本,这个脚本主要是创建hr方案,考试时会提供,我这里没有,故手动创建了一个简单的。
[oracle@ocm1 admin]$ mkdir -p /home/oracle/scripts/ [oracle@ocm1 admin]$ cd /home/oracle/scripts/ [oracle@ocm1 scripts]$ vi create_bishhr.sql create user hr identified by hr; grant connect,resource to hr; ~ ~ "create_bishhr.sql" [New] 3L, 64C written [oracle@ocm1 scripts]$
SQL> @/home/oracle/scripts/create_bishhr.sql
User created.

Grant succeeded.