Welcome 微信登录

首页 / 数据库 / MySQL / Oracle HR 样例数据库用户的建立

先将附件上的 10 个 .sql 文件放入这个路径中 :E:Oracleproduct10.1.0db_1demoschemahuman_resourcesScript 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>@e:oracleproduct10.1.0db_1demoschemahuman_resourceshr_main.sqb)  Specify password for HR as parameter 1:c)  Enter value for 1: hrd)  Specify default tablespeace for HR as parameter 2:e)  Enter value for 2: usersf)  Specify temporary tablespace for HR as parameter 3:g)  Enter value for 3: temph)  Specify password for SYS as parameter 4:i)  Enter value for 4: welcome1j)  Specify log path as parameter 5:k)  Enter value for 5: C:oracleproduct10.1.0db_1RDBMSlog可以通过此命令来查看 HR 用户是否已经建立成功。desc dba_users;Select username, account_status from dba_users;备注:关于 这个样例数据库用户的 script 文件下载下载在Linux公社的1号FTP服务器里,下载地址: FTP地址:ftp://www.linuxidc.com用户名:www.linuxidc.com密码:www.muu.cc在 2011年LinuxIDC.com4月Oracle HR 样例数据库用户的建立 下载方法见 http://www.linuxidc.net/thread-1187-1-1.html
  • 0
  • 顶一下
WebLogic中Oracle jdbc驱动更新方法Oracle悲观锁和乐观锁浅析相关资讯      Oracle教程 
  • Oracle中纯数字的varchar2类型和  (今 07:20)
  • Oracle教程:Oracle中查看DBLink密  (今 07:16)
  • [Oracle] SQL*Loader 详细使用教程  (08/11/2013 21:30:36)
  • Oracle教程:Oracle中kill死锁进程  (今 07:18)
  • Oracle教程:ORA-25153 临时表空间  (今 07:13)
  • Oracle教程之管理安全和资源  (04/08/2013 11:39:32)
图片资讯      
  • 把数据库从Oracle迁移
  • 解决连接Oracle 11g报
  • [INS-35172] Target
  • Oracle 9i在UNIX下的
  • 在AIX6上安装Oracle
  • 64位版本 CentOS 6.0
  • Oracle 10.2.0.4中
  • Oracle 11g RAC 的一
本文评论 查看全部评论 (0)
表情: 姓名: 字数

评论声明
  • 尊重网上道德,遵守中华人民共和国的各项有关法律法规
  • 承担一切因您的行为而直接或间接导致的民事或刑事法律责任
  • 本站管理人员有权保留或删除其管辖留言中的任意内容
  • 本站有权在网站内转载或引用您的评论
  • 参与本评论即表明您已经阅读并接受上述条款