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
  • 相关阅读:
    枚举定义三个常量--遍历如下
    初始化和赋值的概念
    javascript 事件
    HTML 5 本地存储
    html5 说明
    JQuery 双击动态编辑
    ThinkPHP 3.2.2 事务
    PHP AJAX JSONP实现跨域请求使用实例
    chorme 插件
    frontend-tools
  • 原文地址:https://www.cnblogs.com/cherish-code/p/14648391.html
Copyright © 2011-2022 走看看