创建与删除表空间

创建与删除表空间

创建

 

1.创建表空间:create tablespace 名字 datafile '路径' size 64m(表空间大小);

2.创建用户:create user 用户名 identified by 密码 default tablespace 名字;

3.授权:grant dba to 用户名;

 

 

 

删除

1.删除用户:drop user 用户名;

 

 

 

2.删除表空间:drop tablesapce 空间名;

 

 

 

posted @ 2021-10-12 10:05  来点宵夜  阅读(202)  评论(0)    收藏  举报