您好,欢迎来到三六零分类信息网!老站,搜索引擎当天收录,欢迎发信息

oracle命令行删除与创建用户的代码

2025/12/31 8:14:53发布24次查看
oracle命令行删除与创建用户的代码
oracle命令行删除用户:
代码如下:
connect / as sysdba;
shutdown abort;
startup;
drop user user1 cascade;
exit
oracle命令行创建用户:
代码如下:
create user user1
identified by values 'fa091872a2cc669c'
default tablespace user1
temporary tablespace temp
profile default
account unlock;
-- 4 roles for user1
grant recovery_catalog_owner to user1 with admin option;
grant resource to user1 with admin option;
grant dba to user1 with admin option;
grant connect to user1 with admin option;
alter user user1 default role all;
-- 3 system privileges for user1
grant select any dictionary to user1 with admin option;
grant unlimited tablespace to user1 with admin option;
grant alter any procedure to user1 with admin option;
该用户其它信息

VIP推荐

免费发布信息,免费发布B2B信息网站平台 - 三六零分类信息网 沪ICP备09012988号-2
企业名录 Product