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;

           


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


          網站導航:
           
          主站蜘蛛池模板: 阜阳市| 财经| 喜德县| 峡江县| 余干县| 秀山| 南江县| 建湖县| 通城县| 紫阳县| 手游| 和林格尔县| 咸阳市| 宝坻区| 大同县| 文化| 台南市| 崇明县| 社会| 镇康县| 汝州市| 武强县| 山东| 壤塘县| 新余市| 武山县| 玛多县| 遂川县| 新营市| 广东省| 周至县| 嘉祥县| 类乌齐县| 永泰县| 白银市| 手机| 彩票| 辽源市| 枞阳县| 防城港市| 大渡口区|