oracle 创建用户

--Version 0.2 for Mission
--Database: Oracle 9.2.0.1
--Author: python
--Update Time: 2008-8-12


--CONNECT system/haiker:
DROP USER ys_olap CASCADE;
DROP ROLE ys_olap ;

CREATE ROLE ys_olap IDENTIFIED BY "ysolap";

GRANT DBA to ys_olap ;

DROP TABLESPACE ysolapTS ;

create tablespace ysolapTS
datafile 'G:\oracle\oradata\zgdb\zgTS.dbf'  --oracle安装目录下对应实例文件夹下

size 20M autoextend on next 10M maxsize 150M ;

create user ys_olap identified
by "ysolap" default tablespace ysolapTS
temporary tablespace temp ;
grant DBA to ys_olap ;
COMMIT;


你可能感兴趣的:(oracle,python)