日期:2014-05-16  浏览次数:20464 次

oracle10g创建用户,表空间,权限

在控制台以管理员身份登录Oracle10g

C:\Documents and Settings\Administrator>sqlplus system/root

?

SQL*Plus: Release 10.2.0.1.0 - Production on 星期日 1 17 16:09:44 2010

?

Copyright (c) 1982, 2005, Oracle.? All rights reserved.

?

?

连接到:

Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production

With the Partitioning, OLAP and Data Mining options

?

创建一个名为sj密码为sj的用户

SQL> create user sj identified by sj;

?

用户已创建。

?

E:\develop\workspace创建一个名为sj-data.dbf的表空间 表空间大小为100m

SQL> create tablespace ts_sj datafile 'E:\develop\workspace\sj-data.dbf' size

100m;

?

表空间已创建。

?

将表空间赋值给