zoukankan      html  css  js  c++  java
  • Oracle建立表空间和用户

    --表空间
    -- 我这边是在docker的环境运行的, 表空间路径windows自行设置本地路径 改'optoracle' 这个地方 索引空间类似
    CREATE TABLESPACE study
    DATAFILE 'optoracle' size 800M
    EXTENT MANAGEMENT LOCAL SEGMENT SPACE MANAGEMENT AUTO;

    --索引表空间
    CREATE TABLESPACE sdt_Index
    DATAFILE 'optindex' size 512M
    EXTENT MANAGEMENT LOCAL SEGMENT SPACE MANAGEMENT AUTO;

    --2.建用户 cherish 是用户 oracle 是密码
    create user cherish identified by oracle
    default tablespace study;

    --3.赋权
    grant connect,resource to cherish;
    grant create any sequence to cherish;
    grant create any table to cherish;
    grant delete any table to cherish;
    grant insert any table to cherish;
    grant select any table to cherish;
    grant unlimited tablespace to cherish;
    grant execute any procedure to cherish;
    grant update any table to cherish;
    grant create any view to cherish;
    grant dba to cherish;

    努力学习java的Cherish
  • 相关阅读:
    08测试环境配置_数据库配置
    11等价类
    15状态迁移
    12边界值分析法
    10用例格式
    python的转义字符和原字符
    13数据分析法
    14正交试验
    python软件安装
    cookie的secure属性
  • 原文地址:https://www.cnblogs.com/cherish-code/p/14648391.html
Copyright © 2011-2022 走看看