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

在 Oracle 中新建 SDE 用户

时间:2018-10-25 10:57:55      阅读:564      评论:0      收藏:0      [点我收藏+]

标签:exe   data   rar   bsp   ack   min   rac   cut   ogg   

--1.创建用户(SDE)和密码(SDE)
CREATE USER SDE IDENTIFIED BY SDE
--2.创建表空间(SDE)
CREATE TABLESPACE SDE DATAFILE
C:\APP\TRACINE\ORADATA\ORCL\SDEDATA01.DBF SIZE 500M AUTOEXTEND ON NEXT 100M MAXSIZE UNLIMITED
LOGGING
EXTENT MANAGEMENT LOCAL AUTOALLOCATE
BLOCKSIZE 8K
SEGMENT SPACE MANAGEMENT AUTO
FLASHBACK ON;
--3.为用户(SDE)赋予权限
GRANT CREATE SESSION to SDE;
GRANT CREATE TABLE to SDE;
GRANT CREATE TABLESPACE to SDE;
GRANT CREATE VIEW to SDE;
GRANT CREATE PROCEDURE to SDE;
GRANT CREATE SEQUENCE to SDE;
GRANT CREATE TRIGGER to SDE;
GRANT CREATE TYPE to SDE;
GRANT CREATE INDEXTYPE to SDE;
GRANT CREATE LIBRARY to SDE;
GRANT CREATE PUBLIC SYNONYM to SDE;
GRANT CREATE OPERATOR to SDE;
GRANT DROP PUBLIC SYNONYM to SDE;
GRANT ADMINISTER DATABASE TRIGGER to SDE;
--4.修改用户(SDE)在表空间(SDE)上限额
ALTER USER SDE QUOTA UNLIMITED ON SDE
--5.
--GRANT EXECUTE ON dbms_pipe TO SDE;
--GRANT EXECUTE ON dbms_lock TO SDE;
--GRANT EXECUTE ON dbms_lob TO SDE;
--GRANT EXECUTE ON dbms_utility TO SDE;
--GRANT EXECUTE ON dbms_sql TO SDE;
--GRANT EXECUTE ON utl_raw TO SDE;

 

在 Oracle 中新建 SDE 用户

标签:exe   data   rar   bsp   ack   min   rac   cut   ogg   

原文地址:https://www.cnblogs.com/tracine0513/p/9847739.html

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