zoukankan      html  css  js  c++  java
  • 创建DBA用户luna

    用system/pswd登陆sql plus,执行下面命令:

    请输入用户名:  system
    输入口令:
    
    连接到:
    Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    
    SQL> create user luna identified by 1234;
    
    用户已创建。
    
    SQL> grant create session to luna;
    
    授权成功。
    
    SQL> grant create tablespace to luna;
    
    授权成功。
    
    SQL> grant create table to luna;
    
    授权成功。
    
    SQL> grant drop any table to luna;
    
    授权成功。
    
    SQL> grant insert any table to luna;
    
    授权成功。
    
    SQL> grant update any table to luna;
    
    授权成功。
    
    SQL> grant all privileges to luna;
    
    授权成功。
    
    SQL> grant dba to luna;
    
    授权成功。

    此用户可执行解释计划及执行计划。

    --2020年3月24日--

    所有文本:

    create user luna identified by 1234;
    grant create session to luna;
    grant create tablespace to luna; 
    grant create table to luna;
    grant drop any table to luna;
    grant insert any table to luna;
    grant update any table to luna;
    grant all privileges to luna;
    grant dba to luna;
  • 相关阅读:
    Python列表、元组、字典、集合的方法
    Python字符串方法总结
    进程、线程、协和的对比
    案例:图片下载器
    使用gevent实现多任务
    使用greenle完成多任务
    使用yield完成多任务
    生成器总结
    生成器send函数
    生成器yield关键字
  • 原文地址:https://www.cnblogs.com/heyang78/p/12562078.html
Copyright © 2011-2022 走看看