创建用户
create user username identified by pwd;表
create table tbname(col1 int,col2 varchar2(10));表空间
create tablespace temp datafile '/u01/ORACLE/testdb/class01.dbf size 100M;
create user username identified by pwd;表
create table tbname(col1 int,col2 varchar2(10));表空间
create tablespace temp datafile '/u01/ORACLE/testdb/class01.dbf size 100M;
解决方案 »
- oracle SQL跟踪,如何跟踪某个用户发出的所有SQL?
- oracle10.0安装完成之后一直不能正常登陆(急)
- 关于oo4o操作错误
- 表分区问题
- 连接池问题
- 求简单SQL语句~~~~~~~~~~~~急,再线等
- 查找某字段重复值的语句,当该字段为空字符串时,不起作用,怎么办?
- 十万火急。求助:report的runtime设定中的Non-blocking SQL选项,如何动态修改?
- 问一个很菜的问题,希望能得到回答!!!
- expdp是否可以远程导入本地文件
- oracle9i for windows2000,中有svrmgrl命令吗??
- truncate table xxx不能用在存储过程里面吗?
建立表空间
create tablespace si datafile '/u/oradata/en73/si.dat' size 70M online
default storage ( pctincrease 2 );
建立用户
create user si identified by si default tablespace si temporary tablespace si;
给用户授权
grant dba, connect, resource, create table to si;建立表在用户SI上
create table si.tbname(col1 int,col2 varchar2(10));
col2 type_name
.............)
PCTFREE Integer
PCTUSED Integer
TABLESPACE tablespace_name --表空间
STORAGE (
caulse...
)GRANT ALL ON table_name TO user_name