码迷,mamicode.com
首页 > 数据库 > 详细

oracle 学习

时间:2014-04-30 05:00:45      阅读:569      评论:0      收藏:0      [点我收藏+]

标签:div   c   t   sp   tab   ble   table   user   view   rac   date   

删除用户,创建用户命令

drop user goda cascade;删除用户及其下所有对象,包括表

 

CREATE USER qdcenter
     IDENTIFIED BY qdcenter
     DEFAULT TABLESPACE data1
     TEMPORARY TABLESPACE temp1
     QUOTA unlimited ON data1
     QUOTA unlimited ON temp1
     QUOTA unlimited ON idx1
     QUOTA unlimited ON rbs1
     QUOTA 10M ON system;

GRANT DBA TO qdcenter;


grant create table to qdcenter;
grant insert any table to qdcenter;
grant select any table to qdcenter;
grant update any table to qdcenter;
grant delete any table to qdcenter;
grant create any view to qdcenter;
grant drop any view to qdcenter;
grant alter any sequence to qdcenter;
grant create any sequence to qdcenter;
grant select any sequence to qdcenter;
grant drop any sequence to qdcenter;
grant create public synonym to qdcenter;
grant create any synonym to qdcenter;
grant drop public synonym to qdcenter;
grant drop any synonym to qdcenter;

oracle 学习,布布扣,bubuko.com

oracle 学习

标签:div   c   t   sp   tab   ble   table   user   view   rac   date   

原文地址:http://www.cnblogs.com/zlqblog/p/3695723.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!