没有合适的资源?快使用搜索试试~ 我知道了~
一般在导入数据库时,所要创建表空间、用户名,修改密码以及基本权限的赋予的sql语句。
资源推荐
资源详情
资源评论
--创建report_info表空间,
create tablespace report_info
datafile 'E:\DataBase\oracle\product\10.2.0\oradata\orcl\zjscl\report_info.dbf'
size 100m
autoextend on
next 100m maxsize 2048m
extent management local;
create temporary tablespace report_info_temp
tempfile 'E:\DataBase\oracle\product\10.2.0\oradata\orcl\zjscl\report_info_temp.dbf'
size 100m
autoextend on
next 100m maxsize 2048m
extent management local;
--创建用户report_info
create user report_info identified by me
default tablespace report_info
temporary tablespace report_info_temp;
--给创建的用户设定密码--
--格式:alter user 用户名 identified by 新密码--
alter user system identified by manager;
--赋report_info用户权限
--查询权限--
grant select any table to report_info with admin option;
--可以使用任何的表空间--
grant unlimited tablespace to report_info with admin option;
create tablespace report_info
datafile 'E:\DataBase\oracle\product\10.2.0\oradata\orcl\zjscl\report_info.dbf'
size 100m
autoextend on
next 100m maxsize 2048m
extent management local;
create temporary tablespace report_info_temp
tempfile 'E:\DataBase\oracle\product\10.2.0\oradata\orcl\zjscl\report_info_temp.dbf'
size 100m
autoextend on
next 100m maxsize 2048m
extent management local;
--创建用户report_info
create user report_info identified by me
default tablespace report_info
temporary tablespace report_info_temp;
--给创建的用户设定密码--
--格式:alter user 用户名 identified by 新密码--
alter user system identified by manager;
--赋report_info用户权限
--查询权限--
grant select any table to report_info with admin option;
--可以使用任何的表空间--
grant unlimited tablespace to report_info with admin option;
资源评论
星亮
- 粉丝: 0
- 资源: 2
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功