2024年6月12日发(作者:)
SQL语句应用
唐志刚
2010-11-17
建库(导入dmp等格式数据时用)
删除SDE用户所有的表、视图等
Drop user sde cascade
创建SDE用户
create user sde identified by sde default tablespace
tablespace temp profile default account unlock;
角色授予 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;
sde temporary
系统权限授予 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;
中创建新库
2.1. 创建表空间
➢ 以system或者sysman(这二者的权限最大)的身份登录
命令行方式连接数据库的方法:
开始==》运行==》cmd
方式一:
输入sqlplus,回车
输入用户名: system,回车
输入密码:orcl,回车


发布评论