Believe it,do it!

          Ideal is the beacon. Without ideal, there is no secure direction; without direction ,there is no life.
          理想是指路明燈。沒有理想,就沒有堅定的方向;沒有方向,就沒有生活。
          CTRL+T eclipse
          posts - 35, comments - 3, trackbacks - 0, articles - 0
            BlogJava :: 首頁 :: 新隨筆 :: 聯系 :: 聚合  :: 管理

          ORACLE命令創建用戶

          Posted on 2014-01-16 15:35 三羽 閱讀(168) 評論(0)  編輯  收藏

           

          cmd
          sqlplus /nolog

          conn /as sysdba

          //創建用戶并指定表空間  

          create user username identified by password  

          default tablespace my(users) 

          temporary tablespace my(temp);  

          //給用戶授予權限  

          grant connect,resource to username;  

          //以后以該用戶登錄,創建的任何數據庫對象都屬于user_temp 和user_data表空間,

          這就不用在每創建一個對象給其指定表空間了 

          撤權:  

                 revoke   權限...   from  用戶名;

          刪除用戶命令

          drop user user_name cascade;

           


          只有注冊用戶登錄后才能發表評論。


          網站導航:
           
          主站蜘蛛池模板: 青田县| 嘉义县| 邹城市| 沁阳市| 辽宁省| 福建省| 临潭县| 郎溪县| 兖州市| 太仆寺旗| 鸡西市| 宾阳县| 古蔺县| 仁怀市| 京山县| 阳谷县| 潢川县| 贵德县| 八宿县| 西吉县| 滨州市| 齐齐哈尔市| 泸西县| 衡山县| 朔州市| 蒙自县| 滨州市| 临夏县| 尼玛县| 吴江市| 嘉黎县| 连云港市| 平山县| 郸城县| 仲巴县| 故城县| 宜章县| 西平县| 安化县| 永兴县| 沈丘县|