亚洲免费在线-亚洲免费在线播放-亚洲免费在线观看-亚洲免费在线观看视频-亚洲免费在线看-亚洲免费在线视频

Guidelines for Installing Oracle HR Sample S

系統 1756 0

All scripts necessary to install sample schemas reside in $ORACLE_HOME /demo/schema directory. Before you install sample schemas by running these scripts, follow these guidelines:

  1. You must connect as a system administrator using the SYSDBA privilege.

  2. When prompted to enter a password for the schema, enter a secure password that meets the requirements described in Oracle Database Security Guide .

  3. When prompted for tablespace names while running scripts:

    • Enter an appropriate tablespace name, for example, users as the default tablespace for a schema

    • Enter temp as the temporary tablespace for a schema

  4. When prompted for the log directory name, enter $ORACLE_HOME /demo/schema/log/ or any other existing directory name.

Note:

Make sure that you end the log directory name with a trailing slash, for example, $ORACLE_HOME /demo/schema/log/

Installing the HR Schema

All scripts necessary to create the Human Resource (HR) schema reside in $ORACLE_HOME /demo/schema/human_resources .

You need to call only one script, hr_main.sql , to create all the objects and load the data. The following steps provide a summary of the installation process:

  1. Log on to SQL*Plus as SYS and connect using the AS SYSDBA privilege.

            sqlplus connect sys as sysdba
    
    Enter password: 
            
              password
            
          
  2. To run the hr_main.sql script, use the following command:

            SQL> @?/demo/schema/human_resources/hr_main.sql
    
    
          
  3. Enter a secure password for HR

            specify password for HR as parameter 1:
    
    Enter value for 1:
    
    
          

    See Also:

    Oracle Database Security Guide for the minimum password requirements
  4. Enter an appropriate tablespace, for example, users as the default tablespace for HR

            specify default tablespace for HR as parameter 2:
    
    Enter value for 2:
    
    
          
  5. Enter temp as the temporary tablespace for HR

            specify temporary tablespace for HR as parameter 3:
    
    Enter value for 3:
    
    
          
  6. Enter your SYS password

            specify password for SYS as parameter 4:
    
    Enter value for 4:
    
    
          
  7. Enter the directory path, for example, $ORACLE_HOME /demo/schema/log/ , for your log directory

            specify log path as parameter 5:
    
    Enter value for 5:
    
    
          

After the hr_main.sql script runs successfully and the HR schema is installed, you are connected as the user HR. To verify that the schema was created, use the following command:

    SQL> SELECT       table_name FROM user_tables;


  

Running hr_main.sql accomplishes the following tasks:

  1. Removes any previously installed HR schema

  2. Creates the user HR and grants the necessary privileges

  3. Connects as HR

  4. Calls the scripts that create and populate the schema objects

Guidelines for Installing Oracle HR Sample Schemas


更多文章、技術交流、商務合作、聯系博主

微信掃碼或搜索:z360901061

微信掃一掃加我為好友

QQ號聯系: 360901061

您的支持是博主寫作最大的動力,如果您喜歡我的文章,感覺我的文章對您有幫助,請用微信掃描下面二維碼支持博主2元、5元、10元、20元等您想捐的金額吧,狠狠點擊下面給點支持吧,站長非常感激您!手機微信長按不能支付解決辦法:請將微信支付二維碼保存到相冊,切換到微信,然后點擊微信右上角掃一掃功能,選擇支付二維碼完成支付。

【本文對您有幫助就好】

您的支持是博主寫作最大的動力,如果您喜歡我的文章,感覺我的文章對您有幫助,請用微信掃描上面二維碼支持博主2元、5元、10元、自定義金額等您想捐的金額吧,站長會非常 感謝您的哦!!!

發表我的評論
最新評論 總共0條評論
主站蜘蛛池模板: 久久国内精品 | 亚洲国产精品一区二区九九 | 白云精品视频国产专区 | 国产 magnet | 国语高清精品一区二区三区 | 天天久久狠狠伊人第一麻豆 | 在线亚洲 欧美 日本专区 | 亚洲线精品久久一区二区三区 | 日日狠日| 98色花堂永久地址国产精品 | 亚洲国产最新在线一区二区 | 国产午夜精品一区二区三区 | 91孕妇精品一区二区三区 | 黄色在线免费观看 | 黄色一级片a | 日本激情视频一区二区三区 | 日日干夜夜骑 | 福利网站在线观看 | 久久综合社区 | 国产成人精品男人的天堂538 | 天天拍拍天天爽免费视频 | 成人做爰毛片免费视频 | 在线日韩国产 | 国产亚洲漂亮白嫩美女在线 | 国产精品欧美亚洲区 | 国产亚洲精品久久久久久久网站 | 久亚洲精品不子伦一区 | 精品中文字幕久久久久久 | 国产视频一 | 亚洲高清网站 | 国产亚洲欧美日韩在线看片 | 妞干网这里只有精品 | 日韩在线视频中文字幕 | 久草热视频| 四虎国产永久在线观看 | 国产精品高清久久久久久久 | 国产永久免费爽视频在线 | 偷拍肉窝窝视频在线播放 | 激情亚洲婷婷 | 国产欧美一区二区精品性色 | 国产日韩欧美综合 |