zoukankan      html  css  js  c++  java
  • Linux下新建oracle用户

    su - oracle
    sqlplus / as sysdba


    the procedure of dropping user are as follow:

    select sid,serial# from v$session where username='DP_REPO';
      SID    SERIAL#
    ---------- ----------
           122        513
           135      14325
           140       6581
           149      10477
           152      34199

    alter system kill session '122,513';
    alter system kill session '135,14325';
    alter system kill session '140,6581';
    alter system kill session '149,10477';
    alter system kill session '152,34199';
    drop user dp_repo cascade;


    the procedure of creating user are as follow:

    create user dp_repo identified by dp_repo;
    alter user dp_repo default tablespace   USERS  quota unlimited on USERS;
    alter user dp_repo temporary tablespace temp;
    grant connect to dp_repo;
    grant resource to dp_repo;
    grant create trigger to dp_repo ;
    grant create session to dp_repo ;
    grant create sequence to dp_repo ;
    grant create synonym to dp_repo ;
    grant create table to dp_repo ;
    grant create view to dp_repo ;
    grant create procedure to dp_repo ;

  • 相关阅读:
    [Leetcode]设计链表
    [Leetcode]最小栈
    复杂JSON反序列化为类对象
    Big Data Solution in Azure: Azure Data Lake
    EF vs ADO.NET
    EF5.0默认不支持DB First了?
    WebService/WCF/WebAPI区别
    AugularJS1.X不升级到2.X
    数据库中锁的问题
    MVC中路由匹配的规则
  • 原文地址:https://www.cnblogs.com/-wangjiannan/p/3273218.html
Copyright © 2011-2022 走看看