zoukankan      html  css  js  c++  java
  • oracle 10g体系结构及安全管理

    1.了解oracle数据库物理结构

    2.理解oracle数据库逻辑结构

    3.掌握oracle数据库的安全管理

    一.

    --创建一个myspace表空间
    create tablespace myspace datafile 'D:databasemyspace01.dbf' size 10M
    
    --修改表空间
    alter tablespace myspace add datafile 'D:databasemyspace02.dbf' size 10M
    alter tablespace myspace add datafile 'D:databasemyspace03.dbf' size 10M
    
    
    create tablespace usertt
    (
           EdId number not null,
           EdName varchar2(20) not null, 
    )
    
    create user Student
    IDENTIFIED by student123
    default tablespace users;
    
    --修改student表
    alter user Student
    identified by mysecstudent
    default tablespace SYSTEM;
    
    --删除student表
    drop user Student CASCADE
    
    
    --授予用户connect,resouree角色
    GRANT CONNECT TO Student;
    grant resource to Student;
    
    
    --授予用户查询scott.emp数据库对象的权限
    grant select on scott.emp to Student
    
    --授权回收
    grant create session,CONNECT,resource to Student;
    revoke insert on scott.emp from Student
    
    select * from scott.emp;
  • 相关阅读:
    token
    跨域问题???
    简单使用express
    深拷贝 浅拷贝
    node表单提交初知识!
    11.29
    11.28
    11.27
    11.26每日总结
    11.25每日总结
  • 原文地址:https://www.cnblogs.com/pengjun110/p/3505179.html
Copyright © 2011-2022 走看看