如何删除oracle 的用户及其数据

时间:2020-07-14 19:53:16   收藏:0   阅读:70

1.用sysdba登录

(1)cmd 控制台:sqlplus / as sysdba;

(2)drop user test cascade;

 

2.创建用户

-- Create the user 
create user test
  identified by test
  default tablespace hOTEL_DATA
  temporary tablespace temp;
-- Grant/Revoke role privileges 
grant dba to test;
grant connect to test;

原文:https://www.cnblogs.com/curedfisher/p/13300470.html

评论(0
© 2014 bubuko.com 版权所有 - 联系我们:wmxa8@hotmail.com
打开技术之扣,分享程序人生!