通过cmd对数据库SQL进行创建表空间并创建用户

通过cmd对数据库SQL进行创建表空间并创建用户

1.创建表空间:create tablespace stx(名字) datafile ' 目录路径\stx(名字).dbf ' size 64m;

image-20211011195221548

2.创建用户:create user 用户名 identified by 用户名 default tablespace stx(名字);

image-20211011195323362

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

image-20211011195414675

最终在文件夹呈现出来如图:

image-20211011195935896

posted @ 2021-10-11 20:10  CHANGBUSI  阅读(324)  评论(0编辑  收藏  举报