首页 > 技术文章 > oracle建表流程

niwotaxuexiba 2018-09-29 22:07 原文

--创建表空间test1
create tablespace test1
datafile 'd:\test1.dbf'
size 100m
autoextend on
next 10m

--创建用户test1.一个表空间可以有多个用户
create user test1
identified by 123456
default tablespace test1

--给用户赋权
grant dba to test1

--创建表test1
create table test1(
 id number,
 name varchar2(20)
)

 

推荐阅读