最新国产好看的视频,伊人天堂AV在线,国产Aaaaaa视频,蜜臀视频在线观看一区,人妻av色图,密臀久久久精品影片,青青视频免费观看毛片,久草在线观看视,国产三级精品色情在线

oracle創(chuàng)建表空間、授權(quán)、創(chuàng)建用戶、導入dmp文件

 更新時間:2017年04月27日 10:54:04   投稿:mrr  
這篇文章主要介紹了oracle創(chuàng)建表空間、授權(quán)、創(chuàng)建用戶、導入dmp文件,需要的朋友可以參考下

oracle創(chuàng)建表空間,授權(quán),創(chuàng)建用戶,導入dmp文件,具體詳解如下所示:

1.創(chuàng)建表空間

Create tablespace bpm datafile 'D:\ORACLE11\ORADATA\ORCL\BPM.DBF' size 400M autoextend on
Create tablespace lyoa datafile 'D:\ORACLE11\ORADATA\ORCL\LYOA.DBF' size 400M autoextend on
Create tablespace kdb datafile 'D:\ORACLE11\ORADATA\ORCL\KDB.DBF' size 400M autoextend on

2-- 創(chuàng)建用戶

2.創(chuàng)建LYOA用戶

create user LYOA
identified by LYOA
default tablespace LYOA
temporary tablespace TEMP
profile DEFAULT;
-- Grant/Revoke role privileges
grant connect to LYOA;
grant resource to LYOA;
-- Grant/Revoke system privileges
grant create database link to LYOA;
grant create public database link to LYOA;
grant create view to LYOA;

3 創(chuàng)建KDB用戶

create user KDB
identified by KDB
default tablespace KDB
temporary tablespace TEMP
profile DEFAULT;
-- Grant/Revoke role privileges
grant connect to KDB;
grant resource to KDB;

4 把LYOA下的表授權(quán)給KDB用戶

grant all on lyoa.oa_public_address_book to KDB;
grant all on lyoa.oa_public_address_book_group to KDB;
grant all on bpm.bpm_orgdeptlist to KDB;
grant all on bpm.bpm_orguserdeptmap to KDB;
grant all on bpm.bpm_orguserlist to KDB;
-- Grant/Revoke system privileges
grant create view to KDB;
grant unlimited tablespace to KDB;
-- Create the user
create user BPM
identified by BPM
default tablespace BPM
temporary tablespace TEMP
profile DEFAULT;
-- Grant/Revoke role privileges
grant connect to BPM;
grant resource to BPM;
-- Grant/Revoke system privileges
grant create database link to BPM;
grant create public database link to BPM;
grant create view to BPM;
grant drop public database link to BPM;
grant unlimited tablespace to BPM;
grant all on lyoa.ly_im_news_2 to bpm;
grant all on lyoa.oa_system_message to bpm;

1.在orac數(shù)據(jù)中,給scott用戶connect resource sysdb的權(quán)限 創(chuàng)建三個用戶

登錄 SYS/ AS SYSDBA

2.登錄每個用戶導入對應(yīng)用戶的表

導入用戶的表 給與lyoa用戶dba的權(quán)限 grant dba to lyoa

imp lyoa/lyoa@localhost/orcl file=F:\lyoa.dmp full=y

3.用戶沒有授權(quán)需要登錄 SYS/ AS SYSDBA 之后 sysdba為密碼進行授權(quán)

以上所述是小編給大家介紹的oracle創(chuàng)建表空間、授權(quán)、創(chuàng)建用戶、導入dmp文件,希望對大家有所幫助,如果大家有任何疑問請給我留言,小編會及時回復(fù)大家的。在此也非常感謝大家對腳本之家網(wǎng)站的支持!

相關(guān)文章

最新評論

巨野县| 丹东市| 遂平县| 广昌县| 浠水县| 淳安县| 合作市| 津南区| 丰县| 论坛| 金塔县| 慈利县| 五大连池市| 宿州市| 花莲市| 禹州市| 孟连| 新民市| 丹凤县| 怀安县| 清远市| 都江堰市| 临西县| 米脂县| 行唐县| 建宁县| 平果县| 仲巴县| 哈密市| 曲周县| 勐海县| 托克逊县| 江阴市| 霍城县| 广南县| 南宁市| 六安市| 泾阳县| 天门市| 南投县| 齐河县|