`

ORACLE备忘

阅读更多



 安装oracle 11g后,七个服务。

需要开启PL/SQL连接使用时,打开红框中的两个即可。

 

select * from dba_temp_files;
select * from dba_data_files;
select * from v$tablespace;
--1. 创建表空间
--create tablespace TBS_ADE_DATA datafile 'D:\PROGRAM\ORACLE\ORADATA\ORCL\TBS_ADE_DATA01.dbf' size 20m;
--create temporary tablespace TBS_ADE_TEMP tempfile 'D:\PROGRAM\ORACLE\ORADATA\ORCL\TBS_ADE_TEMP01.dbf' size 20m;
--2. 创建用户
--create user ade identified by ade#2015 default tablespace TBS_ADE_DATA temporary tablespace TBS_ADE_TEMP;
--grant create session to ade;
--grant unlimited tablespace to ade;
--grant create table to ade;

  • 大小: 17.4 KB
分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics