zoukankan      html  css  js  c++  java
  • oracle opreation instruction(表空间,用户etc)

    create tablespace CAACSC_DAT
    logging  
    datafile 'F:\DB\CAACSC\CAACSC_DAT.DBF' 
    size 50m  
    autoextend on  
    next 50m maxsize 20480m  
    extent management local;


    create user caacsc identified by caacsc
    default tablespace CAACSC_DAT;


    GRANT UNLIMITED TABLESPACE TO caacsc;


    grant create session,resource to caacsc;





    创建表空间

    create tablespace MSKY_DAT  

    logging  
    datafile 'F:\NEWDB\MSKY\MSKY_DAT.DBF' 
    size 50m  
    autoextend on  
    next 50m maxsize 20480m  
    extent management local;


    删除表空间

    drop tablespace MSKY_DAT including contents 


    创建用户并指定表空间

    create user R_SELMSKY identified by SA
    default tablespace test_data

    temporary tablespace test_temp;


    修改用户的表空间 

    alter user MSKY quota unlimited on MSKY_DAT; 全部

    为用户指定权限
    GRANT UNLIMITED TABLESPACE TO MSKY




    ---------------------------------------------------------------------------------------------------------------------------------
    copyright:http://www.cnblogs.com/anee/
  • 相关阅读:
    A. k-rounding
    哗啦啦村的刁难(4)
    喵哈哈村的种花魔法
    喵哈哈村的赛马比赛
    喵哈哈村的括号序列
    喵哈哈村的排队
    python中递归调用
    python-中函数的参数
    shell中参数及带色彩打印
    python-文件读写
  • 原文地址:https://www.cnblogs.com/anee/p/2675750.html
Copyright © 2011-2022 走看看