• <ul id="mayc0"></ul>
    <ul id="mayc0"><center id="mayc0"></center></ul>
    <strike id="mayc0"><input id="mayc0"></input></strike>
    <ul id="mayc0"></ul>
  • 始創(chuàng)于2000年 股票代碼:831685
    咨詢熱線:0371-60135900 注冊有禮 登錄
    • 掛牌上市企業(yè)
    • 60秒人工響應(yīng)
    • 99.99%連通率
    • 7*24h人工
    • 故障100倍補償
    全部產(chǎn)品
    您的位置: 網(wǎng)站首頁 > 幫助中心>文章內(nèi)容

    Oracle HR 樣例數(shù)據(jù)庫用戶的建立

    發(fā)布時間:  2012/8/21 16:33:00

    先將附件上的 10 個 .sql 文件放入這個路徑中 :

    E:\Oracle\product\10.1.0\db_1\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 上執(zhí)行 hr_main.sq 這個文件。

    a)  SQL>@e:\Oracle\product\10.1.0\db_1\demo\schema\human_resources\hr_main.sq

    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: welcome1

    j)  Specify log path as parameter 5:

    k)  Enter value for 5: C:\Oracle\product\10.1.0\db_1\RDBMS\log

    可以通過此命令來查看 HR 用戶是否已經(jīng)建立成功。

    desc dba_users;

    Select username, account_status from dba_users;

    備注:關(guān)于 這個樣例數(shù)據(jù)庫用戶的 script 文件下載

    下載在Linux公社的1號FTP服務(wù)器里,下載地址:
    FTP地址:ftp://www.linuxidc.com

    用戶名:www.linuxidc.com

    密碼:www.muu.cc

    在 2011年LinuxIDC.com\4月\Oracle HR 樣例數(shù)據(jù)庫用戶的建立


    本文出自:億恩科技【www.vbseamall.com】

    服務(wù)器租用/服務(wù)器托管中國五強!虛擬主機域名注冊頂級提供商!15年品質(zhì)保障!--億恩科技[ENKJ.COM]

  • 您可能在找
  • 億恩北京公司:
  • 經(jīng)營性ICP/ISP證:京B2-20150015
  • 億恩鄭州公司:
  • 經(jīng)營性ICP/ISP/IDC證:豫B1.B2-20060070
  • 億恩南昌公司:
  • 經(jīng)營性ICP/ISP證:贛B2-20080012
  • 服務(wù)器/云主機 24小時售后服務(wù)電話:0371-60135900
  • 虛擬主機/智能建站 24小時售后服務(wù)電話:0371-60135900
  • 專注服務(wù)器托管17年
    掃掃關(guān)注-微信公眾號
    0371-60135900
    Copyright© 1999-2019 ENKJ All Rights Reserved 億恩科技 版權(quán)所有  地址:鄭州市高新區(qū)翠竹街1號總部企業(yè)基地億恩大廈  法律顧問:河南亞太人律師事務(wù)所郝建鋒、杜慧月律師   京公網(wǎng)安備41019702002023號
      0
     
     
     
     

    0371-60135900
    7*24小時客服服務(wù)熱線