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 unlimitedoracle账号 tablespace to username;    

 

alter user username default role connect,dba,resource;

 

此条目发表在oracle metalink账号分类目录,贴了标签。将固定链接加入收藏夹。