当前位置:数据库 > Oracle >>

Oracle drop用户,新增用户

Oracle drop用户,新增用户
 
删除用户脚本:
 
Sql代码  
 
drop user smh_msg cascade;  
 
新增用户脚本:
 
Sql代码  
 
create user username identified by "123456";    
 
grant connect to username;    
 
grant dba to username;    
 
grant resource to username;    
 
grant unlimited tablespace to username;    
 
alter user username default role connect,dba,resource;
 
CopyRight © 2022 站长资源库 编程知识问答 zzzyk.com All Rights Reserved
部分文章来自网络,