• <sub id="h4knl"><ol id="h4knl"></ol></sub>
    <sup id="h4knl"></sup>
      <sub id="h4knl"></sub>

      <sub id="h4knl"><ol id="h4knl"><em id="h4knl"></em></ol></sub><s id="h4knl"></s>
      1. <strong id="h4knl"></strong>

      2. oracle表空間啟動(dòng)數(shù)據(jù)庫(kù)命令

        時(shí)間:2024-05-07 06:56:54 Oracle認(rèn)證 我要投稿
        • 相關(guān)推薦

        oracle表空間啟動(dòng)數(shù)據(jù)庫(kù)命令

          為了方便大家學(xué)習(xí),下面yjbys小編為大家準(zhǔn)備了關(guān)于oracle表空間啟動(dòng)數(shù)據(jù)庫(kù)命令的方法,歡迎閱讀。

          啟動(dòng)數(shù)據(jù)庫(kù)命令分為三個(gè)階段:

          startup nomount

          alter database mount

          alter database open

          本用戶讀取其他用戶對(duì)象的權(quán)限:

          select * from user_tab_PRivs;

          本用戶所擁有的系統(tǒng)權(quán)限:

          select * from user_sys_privs;

          ———————————————————

          Oracle中數(shù)據(jù)字典視圖分為3大類, 用前綴區(qū)別,分別為:USER,ALL 和 DBA,許多數(shù)據(jù)字典視圖包含相似的信息。

          USER_*:有關(guān)用戶所擁有的對(duì)象信息,即用戶自己創(chuàng)建的對(duì)象信息

          ALL_*:有關(guān)用戶可以訪問(wèn)的對(duì)象的信息,即用戶自己創(chuàng)建的對(duì)象的信息加上其他用戶創(chuàng)建的對(duì)象但該用戶有權(quán)訪問(wèn)的信息

          DBA_*:有關(guān)整個(gè)數(shù)據(jù)庫(kù)中對(duì)象的信息

          ———————————————

          Oracle 10i

          ALTER DATABASE DEFAULT TABLESPACE 修改數(shù)據(jù)庫(kù)的默認(rèn)表空間

          ———————————–

          set echo off;

          spool 產(chǎn)生腳本文件的路徑

          select ‘grant select,insert,delete,update on ’|| table_name||‘ to 用戶名;’ from user_tables;

          spool off;

          select ‘revoke select,insert,update,delete on ’||table_name||‘ from 用戶名;’ from user_tables;

          revoke select,insert,delete,update any table from 用戶名 with grant option;

          ————–

          grant select,insert,delete,insert,update any table to 用戶名 with grant option ;

          修改表 所屬的表空間

          alter table 表名 move tablespace 表空間名

          注意:在此操作之后,一定要把表上的索引重建, alter index index-name rebuild

          ——————-

          創(chuàng)建表空間語(yǔ)句:

          create tablespace tableName datafile ‘e:oracle/dbName.dbf’ size 1024M autoextend on next 100M maxsize unlimited;

        【oracle表空間啟動(dòng)數(shù)據(jù)庫(kù)命令】相關(guān)文章:

        Oracle數(shù)據(jù)庫(kù)臨時(shí)表管理技巧06-15

        ORACLE與excel的數(shù)據(jù)互傳方法07-14

        Oracle認(rèn)證:Oracle避免全表掃描方式10-04

        Oracle數(shù)據(jù)庫(kù)語(yǔ)句大全10-08

        ORACLE數(shù)據(jù)字典的有效利用08-24

        ORACLE數(shù)據(jù)庫(kù)碎片的整理08-18

        oracle數(shù)據(jù)庫(kù)基本語(yǔ)句08-21

        Oracle數(shù)據(jù)庫(kù)認(rèn)證層次08-29

        Oracle數(shù)據(jù)庫(kù)的基本介紹09-04

        Oracle數(shù)據(jù)庫(kù)SQLPLUS介紹10-09

        国产高潮无套免费视频_久久九九兔免费精品6_99精品热6080YY久久_国产91久久久久久无码
      3. <sub id="h4knl"><ol id="h4knl"></ol></sub>
        <sup id="h4knl"></sup>
          <sub id="h4knl"></sub>

          <sub id="h4knl"><ol id="h4knl"><em id="h4knl"></em></ol></sub><s id="h4knl"></s>
          1. <strong id="h4knl"></strong>

          2. 漂亮人妇中出中文字幕在线 | 亚洲综合夜夜久久久 | 精品97免费公开视频 | 亚洲v日韩v欧美在线 | 一本久道久久综合无毒五月 | 日韩一区二区三区四区五 |