Oracle HR 样例用户的建立 10g,11g均可
Oracle HR 样例用户的建立 10g,11g均可
先将附件(见文章尾部)上的 10 个 .sql 文件放入这个路径中 :
$ORACLE_HOME/demo/schema/human_resources
Script Name |
Description |
hr_analz.sql |
Collects statistics on the tables in the schema. |
hr_code.sql |
Creates procedural objects in the schema. |
hr_comnt.sql |
Creates comments for each object in the schema. |
hr_cre.sql |
Creates the HR objects. |
hr_dn_c.sql |
Adds the distinguished name column used by Oracle Internet Directory to the employees and departments tables. |
hr_dn_d.sql |
Drops the Oracle Internet Directory distinguished name column from employees and departments . |
hr_drop.sql |
Drops the HR schema and all its objects. |
hr_idx.sql |
Creates indexes on the HR tables. |
hr_main.sql |
Main script for the HR schema; calls other scripts. |
hr_popul.sql |
Populates the objects. |
然后在 SQL*PLUS 上执行 hr_main.sq 这个文件。
a) SQL>@?/demo/schema/human_resources/hr_main.sql
b) Specify password for HR as parameter 1:
c) Enter value for 1: hr
d) Specify default tablespeace for HR as parameter 2:
e) Enter value for 2: users
f) Specify temporary tablespace for HR as parameter 3:
g) Enter value for 3: temp
h) Specify password for SYS as parameter 4:
i) Enter value for 4:runner
j) Specify log path as parameter 5:
k) Enter value for 5: C:/oracle/product/10.1.0/db_1/RDBMS/log (如果是Linux下的话就$ORACLE_HOME/rdbms/log)
可以通过此命令来查看 HR 用户是否已经建立成功。
desc dba_users;
Select username, account_status from dba_users;
附件地址:
http://download.csdn.net/detail/fuzhangpeng/7712823
Oracle HR 样例用户的建立 10g,11g均可相关推荐
- oracle建库并使用HR范例,Oracle HR样例数据库建立
在视频的学习过程中,老师用到了HR样例数据库,但是我发现我的样例数据库中没有HR样例数据库,可能是在安装的时候漏掉了哪个环节,所以只能补救一下 如何判断自己是否有HR样例数据库呢?操作代码如下所示 第 ...
- CorelDraw插件开发-VBA-常用功能-添加1000个样例用户到安全组-cdr插件
VBA是基于 Visual basic发展而来的,与VB具有相似的语言结构.从语言结构上讲,VBA是VB的一个子集,它们的语法结构是一样的.VBA却没有自己独立的工作环境,它必须依附于某一个主应用 ...
- cognos 样例 oracle,cognos10.2 sample(ORACLE学样例)
BI,Cognos10 Cognos sample 配置 G:\BIworksoft\cognos10.2\c10_64\webcontent\samples\datasources 该路径的data ...
- 每天1点执行的oracle JOB样例
分享一下我老师大神的人工智能教程!零基础,通俗易懂!http://blog.csdn.net/jiangjunshow 也欢迎大家转载本篇文章.分享知识,造福人民,实现我们中华民族伟大复兴! DECL ...
- cognos 样例 oracle,Cognos10安装和sample配置(ORACLE学样例)
Cognos10安装和Sample配置 注:这块除了用Tomcat发布Cognos应用程序外,还可以通过IIS.Apache发布Cognos应用程序,这块就不做详细说明了. 10) 通过上面的安装及配 ...
- 创建和准备Oracle样例数据库
一 创建Oracle样例数据库 此处有一个Oracle创建数据库和表和插入数据的脚本: http://www.forta.com/books/0672336073/ 亦可在此下载: http://pa ...
- oracle样例数据库,创建和准备Oracle样例数据库
一 创建Oracle样例数据库 此处有一个Oracle创建数据库和表和插入数据的脚本: http://www.forta.com/books/0672336073/ 亦可在此下载: http://pa ...
- Oracle数据库:排序order by语句,select from where order by的执行先后顺序,各种样例
Oracle数据库:排序order by语句,select from where order by的执行先后顺序,各种样例 2022找工作是学历.能力和运气的超强结合体,遇到寒冬,大厂不招人,可能很多 ...
- Oracle简单脚本演示样例
Oracle简单脚本演示样例 1.添加表 --改动日期:2014.09.21 --改动人:易小群 --改动内容:新增採购支付情况表 DECLARE VC_STR VARCHAR2( ...
最新文章
- dsp和通用计算机的区别,dsp芯片是什么_dsp芯片和通用微处理器有什么区别
- .on(#39;click#39;)与.click()之间的区别
- 4个变量取最大值 c++_DNF:安徒恩上线服务器爆满,甲板上全是火山C,通关翻出4个金牌...
- 出现Too many connections错误,怎样解决?
- 12306”的架构到底有多牛逼?
- 择天记手游的服务器维护世界,3月8日停服更新公告
- 自动驾驶算法-滤波器系列(八)——IMM交互多模型介绍
- 中国5G务实发展 向大规模商用推进
- python实现xml数据解析处理
- syslinux下载链接
- 使用通达信获取股票历史数据
- TP礼物钻石投票评选男神女神萌娃商家投票系统源码简介下载
- 微软服务器2016各版本区别,Win10各版本区别 最强的你绝对没猜到
- html单元格浮雕效果,怎样用PS做出这种凹面浮雕效果?
- Flex读取Excel
- sparkStreaming+kafka+redis小项目实战
- 利用 Python 进行数据分析 (一):IPython 及 Jupyter notebook
- pcb上钽电容丝印图_avx钽电容的丝印与代码
- 阿里云天池task4
- 谷歌卫星地图导出MBTile离线包及应用教程