oracle 创建表空间/用户名/授权

CREATE SMALLFILE TABLESPACE  mytest DATAFILE 'd:\oracle\product\10.2.0\oradata\orcl10\mytest.dbf' SIZE 100M AUTOEXTEND ON NEXT 10M MAXSIZE UNLIMITED LOGGING EXTENT MANAGEMENT LOCAL SEGMENT SPACE MANAGEMENT AUTO ;

CREATE USER  mytest  IDENTIFIED BY mytest DEFAULT TABLESPACE mytest TEMPORARY TABLESPACE TEMP;
GRANT CONNECT,DBA,RESOURCE TO mytest;

commit

你可能感兴趣的:(oracle)