日本综合一区二区|亚洲中文天堂综合|日韩欧美自拍一区|男女精品天堂一区|欧美自拍第6页亚洲成人精品一区|亚洲黄色天堂一区二区成人|超碰91偷拍第一页|日韩av夜夜嗨中文字幕|久久蜜综合视频官网|精美人妻一区二区三区

RELATEED CONSULTING
相關(guān)咨詢
選擇下列產(chǎn)品馬上在線溝通
服務(wù)時間:8:30-17:00
你可能遇到了下面的問題
關(guān)閉右側(cè)工具欄

新聞中心

這里有您想知道的互聯(lián)網(wǎng)營銷解決方案
1Z0-051-Oracle的HR樣例用戶的建立-創(chuàng)新互聯(lián)

Oracle的 HR 樣例用戶的建立

創(chuàng)新互聯(lián)建站堅持“要么做到,要么別承諾”的工作理念,服務(wù)領(lǐng)域包括:網(wǎng)站設(shè)計、成都網(wǎng)站設(shè)計、企業(yè)官網(wǎng)、英文網(wǎng)站、手機(jī)端網(wǎng)站、網(wǎng)站推廣等服務(wù),滿足客戶于互聯(lián)網(wǎng)時代的南樂網(wǎng)站設(shè)計、移動媒體設(shè)計的需求,幫助企業(yè)找到有效的互聯(lián)網(wǎng)解決方案。努力成為您成熟可靠的網(wǎng)絡(luò)建設(shè)合作伙伴!

1、oracle 11g 中hr用戶需要單獨安裝,比較麻煩,書本上學(xué)習(xí)例子很多都是HR用戶的案例 ,下載后釋放到 $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.

2、[oracle@OCM]$sqlplus / as sysdba;

3、執(zhí)行$ORACLE_HOME/demo/schema/human_resources/下的hr_main.sql

SQL>@?/demo/schema/human_resources/hr_main.sql

注:

1、安裝前需要使用root用戶對human_resources下的文件執(zhí)行:chmod 777 *。

2、安裝前需要確定5個參數(shù)。分別是:

HR用戶的密碼:dbbocom;

默認(rèn)用戶空間:users。(必須是已經(jīng)存在的用戶空間)

臨時用戶空間:temp。(必須是已經(jīng)存在的用戶空間)

SYS用戶的密碼:dbbocom

日志文件存放的目錄:$ORACLE_HOME/RDBMS/log

HR人事管理數(shù)據(jù)庫下載地址:

http://down.51cto.com/data/1037205

或者:

http://download.csdn.net/detail/johnlxj/6689713

SQL> @?/demo/schema/human_resources/hr_main.sql

specify password for HR as parameter 1:

Enter value for 1: dbbocom

specify default tablespeace for HR as parameter 2:

Enter value for 2: users

specify temporary tablespace for HR as parameter 3:

Enter value for 3: temp

specify password for SYS as parameter 4:

Enter value for 4: dbbocom

specify log path as parameter 5:

Enter value for 5: /home/oracle/app/oracle/

DROP USER hr CASCADE

          *

ERROR at line 1:

ORA-01918: user 'HR' does not exist

old  1: CREATE USER hr IDENTIFIED BY &pass

new  1: CREATE USER hr IDENTIFIED BY dbbocom

User created.

old  1: ALTER USER hr DEFAULT TABLESPACE &tbs

new  1: ALTER USER hr DEFAULT TABLESPACE users

old  2: QUOTA UNLIMITED ON &tbs

new  2: QUOTA UNLIMITED ON users

User altered.

old  1: ALTER USER hr TEMPORARY TABLESPACE &ttbs

new  1: ALTER USER hr TEMPORARY TABLESPACE temp

PL/SQL procedure successfully completed.

...

PL/SQL procedure successfully completed.

檢查是否正確安裝完畢

SQL> show user

USER is "HR"

另外有需要云服務(wù)器可以了解下創(chuàng)新互聯(lián)cdcxhl.cn,海內(nèi)外云服務(wù)器15元起步,三天無理由+7*72小時售后在線,公司持有idc許可證,提供“云服務(wù)器、裸金屬服務(wù)器、高防服務(wù)器、香港服務(wù)器、美國服務(wù)器、虛擬主機(jī)、免備案服務(wù)器”等云主機(jī)租用服務(wù)以及企業(yè)上云的綜合解決方案,具有“安全穩(wěn)定、簡單易用、服務(wù)可用性高、性價比高”等特點與優(yōu)勢,專為企業(yè)上云打造定制,能夠滿足用戶豐富、多元化的應(yīng)用場景需求。


名稱欄目:1Z0-051-Oracle的HR樣例用戶的建立-創(chuàng)新互聯(lián)
標(biāo)題鏈接:http://www.dlmjj.cn/article/ddpojd.html