oracle 账号lockOracle Create TableSpace SQL

Oracle Create TableSpace SQL

 

–创建表空间  www.2cto.com  

CREATE TABLESPACE TableSpaceName

NOLOGGING 

DATAFILE 'path/tablespacename.dbf' SIZE 20M

autoExtend on next 10M

permanent online;

–创建用户  www.2cto.com  

CREATE USER username IDENTIFIED BY password DEFAULT TABLESPACE TsinghuaLMS ACCOUNT UNLOCK;

–授权

GRANT oracle账号"CONNECT" TO username;

GRANT "RESOURCE" TO username;

GRANT "DBA" TO username;

此条目发表在oracle metalink账号分类目录,贴了标签。将固定链接加入收藏夹。