DBA經常使用SQL之DDL生成語句

獲取對象定義的包爲:dbms_metadata,其中的get_ddl函數是獲取對象的函數

GET_DDL函數返回建立對象的原數據的DDL語句,參數說明

1、object_type 
---須要返回原數據的DDL語句的對象類型
2、name --- 對象名稱
3schema 
---對象所在的Schema,默認爲當前用戶所在所Schema
4、version ---對象原數據的版本
5、model 
---原數據的類型默認爲ORACLE
6、transform. - XSL-T transform. to be 
applied.
7RETURNS: 
對象的原數據默認以CLOB類型返回

其中,咱們常常用到的是前三項。

dbms_metadata包中的get_ddl函數定義:

FUNCTION 
get_ddl ( object_type IN VARCHAR2,
name IN VARCHAR2,
schema IN VARCHAR2 
DEFAULT NULL,
version IN VARCHAR2 DEFAULT 'COMPATIBLE',
model IN VARCHAR2 
DEFAULT 'ORACLE',
transform. IN VARCHAR2 DEFAULT 'DDL') RETURN 
CLOB;

注意:

1、若是使用sqlplus須要進行下列格式化,特別須要對long進行設置,不然沒法顯示完整的SQL
2、參數要使用大寫,不然會查不到

set 
linesize 180
set pages 999
set long 
90000

1、查看數據庫表的定義寫法:

select 
dbms_metadata.get_ddl('TABLE','TABLENAME','USERNAME') from 
dual;

2、查看索引的SQL

select 
dbms_metadata.get_ddl('INDEX','INDEXNAME','USERNAME') from 
dual;

3、查看建立主鍵的SQL

SELECT 
DBMS_METADATA.GET_DDL('CONSTRAINT','CONSTRAINTNAME','USERNAME') FROM 
DUAL;

4、查看建立外鍵的SQL

SELECT 
DBMS_METADATA.GET_DDL('REF_CONSTRAINT','REF_CONSTRAINTNAME','USERNAME') FROM 
DUAL;

5、查看建立視圖的SQL

SELECT 
DBMS_METADATA.GET_DDL('VIEW','VIEWNAME','USERNAME') FROM 
DUAL;

6、查看用戶的SQL

SELECT DBMS_METADATA.GET_DDL('USER','USERNAME') 
FROM DUAL;

7、查看角色的SQL

SELECT 
DBMS_METADATA.GET_DDL('ROLE','ROLENAME') FROM 
DUAL;

8、查看錶空間的SQL

SELECT 
DBMS_METADATA.GET_DDL('TABLESPACE','TABLESPACENAME') FROM 
DUAL;

9、獲取物化視圖SQL

select dbms_metadata.get_ddl('MATERIALIZED 
VIEW','MVNAME') FROM DUAL;

10、獲取遠程鏈接定義SQL

SELECT 
dbms_metadata.get_ddl('DB_LINK','DBLINKNAME','USERNAME') stmt FROM 
dual

11、獲取用戶下的觸發器SQL

select 
DBMS_METADATA.GET_DDL('TRIGGER','TRIGGERNAME','USERNAME) FROM 
DUAL;

或

SELECT l.owner,
       l.db_link,
       l.username,
       dbms_metadata.get_ddl('DB_LINK', l.db_link, l.owner) stmt
  FROM  dba_db_links l



十二、獲取用戶下的序列

select 
DBMS_METADATA.GET_DDL('SEQUENCE','SEQUENCENAME') from 
DUAL;

1三、獲取用戶下的函數

select 
DBMS_METADATA.GET_DDL('FUNCTION','FUNCTIONNAME','USERNAME') from 
DUAL

1四、獲取包的定義

select 
DBMS_METADATA.GET_DDL('PACKAGE','PACKAGENAME','USERNAME') from 
dual

1五、獲取存儲過程

select 
DBMS_METADATA.GET_DDL('PROCEDURE','PROCEDURENAME','USERNAME') from 
dual

1六、獲取包體定義

select DBMS_METADATA.GET_DDL('PACKAGE 
BODY','PACKAGEBODYNAME','USERNAME') from 
dual

1七、獲取遠程數據庫對象的定義

SELECT 
DBMS_LOB.SUBSTR@dblinkname(DBMS_METADATA.GET_DDL@dblinkname('TABLE', 
'TABLENAME', 'USERNAME')) FROM DUAL@dblinkname

1八、獲取多個對象的定義

SELECT 
DBMS_METADATA.GET_DDL(O.OBJECT_TYPE, O.object_name,O.OWNER)
FROM DBA_OBJECTS 
O
where O.OBJECT_TYPE IN ('TABLE','INDEX','PROCEDURE','FUNCTION') and ONWER = 
'ONWERNAME';
DDL生成對象建立語句

 

select 
j.SCHEMA_USER,
'declare ' ||
'  n_syn_points number; '||
' begin '||
'  dbms_job.submit(n_syn_points,'||
''''||j.what||''''||','||
   ' sysdate,'||
''''||j.interval||''''||');'||
'  commit; '||
' end; ' as ss
 from dba_jobs j 
where j.LOG_USER not in ('SYS')
and j.SCHEMA_USER='ZHAOPIN'
;

select 'exec dbms_job.remove(' || job || ');' as ss,s.*
  from dba_jobs s
 where s.log_user = 'LCC'
DDL生成建立Job或刪除Job語句

 

---查詢表空間
select a.tablespace_name,a.bytes/1024/1024 "Sum MB",(a.bytes-b.bytes)/1024/1024 "used MB",b.bytes/1024/1024 "free MB",
round(((a.bytes-b.bytes)/a.bytes)*100,2) "percent_used"
from
(select tablespace_name,sum(bytes) bytes from dba_data_files group by tablespace_name) a,
(select tablespace_name,sum(bytes) bytes,max(bytes) largest from dba_free_space group by tablespace_name) b
where a.tablespace_name=b.tablespace_name
order by ((a.bytes-b.bytes)/a.bytes) desc;

---生成添加數據文件SQL
select 'ALTER TABLESPACE '||f.tablespace_name||' ADD DATAFILE ' ||''''||f.FILE_NAME ||''''||' SIZE 10G;'  stras,f.*
from dba_data_files f
where f.TABLESPACE_NAME='SMARTDATA_HISTORY'
;
DDL生成表空間添加文件SQL

------刪除數據庫對象html

select 'drop TYPE '||o.owner||'.'||o.object_name ||';'||chr(13)||chr(10)
  from dba_objects o
 where o.owner in 
 ('HRONLINE',
 'ETS',
 'LHC',
 'BACKUPUSER',
 'CAREER_DMOLVIEW',
 'ASSEREAD',
 'NORMREAD',
 'ASSE',
 'ZHAOPIN',
 'CAREER',
 'PERFSTAT',
 'INTERNCAREER',
 'HNCAREER',
 'HOLONLINE',
 'ZTECAREER'
 )
 and o.object_type='TYPE'
 order by o.created desc
 ;
01_DDL_DROP_TYPE
select 'drop view ' ||o.owner||'.'||o.object_name||';'||chr(13)||chr(10) 
 from dba_objects o
 where o.owner in 
 ('HRONLINE',
 'ETS',
 'LHC',
 'BACKUPUSER',
 'CAREER_DMOLVIEW',
 'ASSEREAD',
 'NORMREAD',
 'ASSE',
 'ZHAOPIN',
 'CAREER',
 'PERFSTAT',
 'INTERNCAREER',
 'HNCAREER',
 'HOLONLINE',
 'ZTECAREER'
 )
 and o.object_type='VIEW'
 order by o.created desc
 ;
02_DDL_DROP_VIEW
select 'drop sequence '||o.owner||'.'||o.object_name ||';'||chr(13)||chr(10)
  from dba_objects o
 where o.owner in 
 ('HRONLINE',
 'ETS',
 'LHC',
 'BACKUPUSER',
 'CAREER_DMOLVIEW',
 'ASSEREAD',
 'NORMREAD',
 'ASSE',
 'ZHAOPIN',
 'CAREER',
 'PERFSTAT',
 'INTERNCAREER',
 'HNCAREER',
 'HOLONLINE',
 'ZTECAREER'
 )
 and o.object_type='SEQUENCE'
 order by o.created desc
 ;
03_DDL_DROP_SEQUENCE
select 'drop TRIGGER '||o.owner||'.'||o.object_name ||';'||chr(13)||chr(10)
  from dba_objects o
 where o.owner in 
 ('HRONLINE',
 'ETS',
 'LHC',
 'BACKUPUSER',
 'CAREER_DMOLVIEW',
 'ASSEREAD',
 'NORMREAD',
 'ASSE',
 'ZHAOPIN',
 'CAREER',
 'PERFSTAT',
 'INTERNCAREER',
 'HNCAREER',
 'HOLONLINE',
 'ZTECAREER'
 )
 and o.object_type='TRIGGER'
 order by o.created desc
 ;
04_DDL_DROP_TRIGGER
select 'drop MATERIALIZED VIEW '||o.owner||'.'||o.object_name ||';'||chr(13)||chr(10)
  from dba_objects o
 where o.owner in 
 ('HRONLINE',
 'ETS',
 'LHC',
 'BACKUPUSER',
 'CAREER_DMOLVIEW',
 'ASSEREAD',
 'NORMREAD',
 'ASSE',
 'ZHAOPIN',
 'CAREER',
 'PERFSTAT',
 'INTERNCAREER',
 'HNCAREER',
 'HOLONLINE',
 'ZTECAREER'
 )
 and o.object_type='MATERIALIZED VIEW'
 order by o.created desc
 ;
05_DDL_DROP_MATERIALIZED_VIEW
select 'drop FUNCTION '||o.owner||'.'||o.object_name ||';'||chr(13)||chr(10)
  from dba_objects o
 where o.owner in 
 ('HRONLINE',
 'ETS',
 'LHC',
 'BACKUPUSER',
 'CAREER_DMOLVIEW',
 'ASSEREAD',
 'NORMREAD',
 'ASSE',
 'ZHAOPIN',
 'CAREER',
 'PERFSTAT',
 'INTERNCAREER',
 'HNCAREER',
 'HOLONLINE',
 'ZTECAREER'
 )
 and o.object_type='FUNCTION'
 order by o.created desc
 ;
06_DDL_DROP_FUNCTION
select 'drop PROCEDURE '||o.owner||'.'||o.object_name ||';'||chr(13)||chr(10)
  from dba_objects o
 where o.owner in 
 ('HRONLINE',
 'ETS',
 'LHC',
 'BACKUPUSER',
 'CAREER_DMOLVIEW',
 'ASSEREAD',
 'NORMREAD',
 'ASSE',
 'ZHAOPIN',
 'CAREER',
 'PERFSTAT',
 'INTERNCAREER',
 'HNCAREER',
 'HOLONLINE',
 'ZTECAREER'
 )
 and o.object_type='PROCEDURE'
 order by o.created desc
 ;
 
07_DDL_DROP_PROCEDURE
select 'drop PACKAGE '||o.owner||'.'||o.object_name ||';'||chr(13)||chr(10) 
  from dba_objects o
 where o.owner in 
 ('HRONLINE',
 'ETS',
 'LHC',
 'BACKUPUSER',
 'CAREER_DMOLVIEW',
 'ASSEREAD',
 'NORMREAD',
 'ASSE',
 'ZHAOPIN',
 'CAREER',
 'PERFSTAT',
 'INTERNCAREER',
 'HNCAREER',
 'HOLONLINE',
 'ZTECAREER'
 )
 and o.object_type='PACKAGE'
 order by o.created desc
 ;
08_DDL_DROP_PACKAGE
select 'drop PACKAGE BODY '||o.owner||'.'||o.object_name ||';'||chr(13)||chr(10)
  from dba_objects o
 where o.owner in 
 ('HRONLINE',
 'ETS',
 'LHC',
 'BACKUPUSER',
 'CAREER_DMOLVIEW',
 'ASSEREAD',
 'NORMREAD',
 'ASSE',
 'ZHAOPIN',
 'CAREER',
 'PERFSTAT',
 'INTERNCAREER',
 'HNCAREER',
 'HOLONLINE',
 'ZTECAREER'
 )
 and o.object_type='PACKAGE BODY'
 order by o.created desc
 ;
09_DDL_DROP_PACKAGE_BODY
select 'drop table '||o.owner||'.'||o.object_name ||' cascade constraints ;'
  from dba_objects o
 where o.owner in 
 ('HRONLINE',
 'ETS',
 'LHC',
 'BACKUPUSER',
 'CAREER_DMOLVIEW',
 'ASSEREAD',
 'NORMREAD',
 'ASSE',
 'ZHAOPIN',
 'CAREER',
 'PERFSTAT',
 'INTERNCAREER',
 'HNCAREER',
 'HOLONLINE',
 'ZTECAREER'
 )
 and o.object_type='TABLE'
 order by o.created desc
 ;
10_DDL_DROP_TABLE
select 'execute dbms_job.remove('||j.JOB||');' as removejob from dba_jobs j
where instr(j.LOG_USER,'SYS')<=0
;
11_DDL_REMOVE_JOB

 

------數據遷移經常使用SQLsql

SELECT 'DROP USER '||u.username ||' CASCADE;' AS dropstrs FROM DBA_USERS U
where u.username in
(
 'ETS',
 'LHC'
 )
 and u.account_status='OPEN'
;
DDL 生在刪除用戶的SQL
select 
TABLESPACE_NAME,FILE_NAME,
case when rn=1 then 
  ctb
  else  
  replace(replace(replace(ctb,'create tablespace','alter tablespace '),'datafile','add datafile'),'extent management local','') 
end ctb,
rn
from 
(
select 
TABLESPACE_NAME,FILE_NAME,ctb,
row_number() over(partition by TABLESPACE_NAME order by file_name) rn
from 
    (
        select s.TABLESPACE_NAME,d.FILE_NAME,
         'create tablespace ' || s.TABLESPACE_NAME || '  datafile '||''''||
               replace(d.FILE_NAME,'+DATA/hronline/datafile/','/data/oradata/holtestdb/') ||''''||
               ' size 50M autoextend on  next 50M maxsize 20000M extent management local; ' AS ctb
         from dba_data_files d,dba_tablespaces s
          where d.TABLESPACE_NAME=s.TABLESPACE_NAME
          and s.TABLESPACE_NAME
          in
          (
            select distinct t.TABLESPACE_NAME from dba_tables t
            where t.OWNER in
            (
            'LHC',
            'BACKUPUSER',
            'TMSUSER'
            )
            and t.TABLESPACE_NAME is not null
          ) 

    )
)
;

-----------------------------------------
select 
TABLESPACE_NAME,FILE_NAME,
case when rn=1 then 
  ctb
  else  
  replace(replace(replace(ctb,'create tablespace','alter tablespace '),'datafile','add datafile'),'extent management local','') 
end ctb,
rn
from 
(
select 
TABLESPACE_NAME,FILE_NAME,ctb,
row_number() over(partition by TABLESPACE_NAME order by file_name) rn
from 
    (
        select s.TABLESPACE_NAME,d.FILE_NAME,
         'create tablespace ' || s.TABLESPACE_NAME || '  datafile '||''''||
               replace(d.FILE_NAME,'D:\ORACLE\ORADATA\XASMART\','/u01/oradata/smart/') ||''''||
               ' size 100M autoextend on  next 100M maxsize 20000M extent management local; ' AS ctb
         from dba_data_files d,dba_tablespaces s
          where d.TABLESPACE_NAME=s.TABLESPACE_NAME
          and instr(s.TABLESPACE_NAME,'SYS')+
          instr(s.TABLESPACE_NAME,'TIVOLIORTS')+
          instr(s.TABLESPACE_NAME,'XDB')+
          instr(s.TABLESPACE_NAME,'TOOLS')+
          instr(s.TABLESPACE_NAME,'UNDOTBS1')+
          instr(s.TABLESPACE_NAME,'USERS')<=0

    )
)
;
DDL生成數據遷移的表空間建立語句
SELECT u.username,DBMS_METADATA.GET_DDL('USER',u.username) FROM DBA_USERS U
where u.username in
 ('HRONLINE'
 )
DDL_生成建立用戶的SQL
 
 SELECT 'grant '||p.privilege || ' on '||p.owner||'.'||p.table_name||' to '||p.grantee||';' grant_table
 FROM DBA_TAB_PRIVS p
 WHERE GRANTEE IN
 (
     'SMART',
     'BACKUPUSER'
 )
 
 UNION ALL
 SELECT 'grant '||p.privilege || ' on '||p.owner||'.'||p.table_name||' to '||p.grantee||';' grant_table
 FROM DBA_TAB_PRIVS p
 WHERE GRANTEE IN
      (SELECT GRANTED_ROLE FROM DBA_ROLE_PRIVS 
         WHERE GRANTEE in
               (
                 'SMART',
                 'BACKUPUSER'
               )
      );
DDL在源庫生成對象受權SQL並在目標庫執行
SELECT  
case when p.admin_option='NO' THEN
'grant '||p.privilege|| ' to '||p.grantee||';'
  else
'grant '||p.privilege|| ' to '||p.grantee||' with admin option'||';' 
end as grants, 

'u' as U_S_PRIVS
FROM DBA_SYS_PRIVS p
WHERE p.GRANTEE in
(
  'HRONLINE'
)
UNION ALL
SELECT 
case when s.admin_option='NO' THEN
'grant '||s.privilege|| ' to '||s.grantee||';' 
else 
'grant '||s.privilege|| ' to '||s.grantee||' with admin option'||';' 
end as grants, 

'r' as U_S_PRIVS
FROM DBA_SYS_PRIVS s
WHERE s.GRANTEE IN
(SELECT r.GRANTED_ROLE FROM DBA_ROLE_PRIVS  r
  WHERE r.GRANTEE in
    (
      'HRONLINE'
 )

)
union all

SELECT  'GRANT CONNECT TO '||p.grantee||';' as grants, 'connect' as U_S_PRIVS
FROM DBA_SYS_PRIVS p
WHERE p.GRANTEE in
(
  'HRONLINE'

)
union all
SELECT  'GRANT RESOURCE TO '||p.grantee||';' as grants, 'resource' as U_S_PRIVS
FROM DBA_SYS_PRIVS p
WHERE p.GRANTEE in
(
  'HRONLINE'
)
DDL在源庫生成用戶受權的SQL並在目標庫執行
select ' grant select on '||o.owner||'.'||o.object_name ||' to hronline ;'
  from dba_objects o
 where o.owner in 
 ('HRCLOUD'
 )
 and o.object_type='TABLE'
 order by o.created desc
 ;
DDL_GRANT_TABLE_TO_USER

 

select a.tablespace_name,a.bytes/1024/1024 "Sum MB",(a.bytes-b.bytes)/1024/1024 "used MB",b.bytes/1024/1024 "free MB",
round(((a.bytes-b.bytes)/a.bytes)*100,2) "percent_used"
from
(select tablespace_name,sum(bytes) bytes from dba_data_files group by tablespace_name) a,
(select tablespace_name,sum(bytes) bytes,max(bytes) largest from dba_free_space group by tablespace_name) b
where a.tablespace_name=b.tablespace_name
order by ((a.bytes-b.bytes)/a.bytes) desc;

select * from dba_data_files f
where f.TABLESPACE_NAME='SMARTDATA_HISTORY'
;

SELECT A.tablespace_name tablespace,
        D.mb_total,
        SUM(A.used_blocks * D.block_size) / 1024 / 1024 mb_used,
        D.mb_total - SUM(A.used_blocks * D.block_size) / 1024 / 1024 mb_free
 FROM v$sort_segment A,
        (SELECT B.name, C.block_size, SUM(C.bytes) / 1024 / 1024 mb_total
           FROM v$tablespace B, v$tempfile C
          WHERE B.ts# = C.ts#
          GROUP BY B.name, C.block_size) D
 WHERE A.tablespace_name = D.name
 GROUP by A.tablespace_name, D.mb_total;

select 'ALTER TABLESPACE '||f.tablespace_name||' ADD DATAFILE ' ||''''||f.FILE_NAME ||''''||' SIZE 10G;'  stras,f.*
from dba_data_files f
where f.TABLESPACE_NAME='SMARTDATA_HISTORY'
;



select count(t.file_name), t.tablespace_name from DBA_DATA_FILES t
group by t.tablespace_name
;


select 'alter database datafile '||''''|| t.FILE_NAME||''''|| ' autoextend on next 100M maxsize 20000M;'from SYS.DBA_DATA_FILES t;
select 'ALTER TABLESPACE '||f.tablespace_name||' ADD DATAFILE ' ||''''||f.FILE_NAME ||''''||' SIZE 10G;' stras ,f.MAXBYTES/1024/1024/1024 as maxsize,f.*
from dba_data_files f
--where f.TABLESPACE_NAME='PSINDEX'
where f.TABLESPACE_NAME  in('PSINDEX','GPAPP','HRLARGE','PSIMAGE2','HRSLARGE','EOECLRG')
;

select 'alter database datafile '||''''||t.FILE_NAME||''''||' autoextend off;' ,t.MAXBYTES/1024/1024/1024 as maxsize from SYS.DBA_DATA_FILES t
where t.TABLESPACE_NAME in('PSINDEX','GPAPP','HRLARGE','PSIMAGE2','HRSLARGE','EOECLRG')

select 'alter database datafile ' ||''''||f.FILE_NAME ||''''||' RESIZE 20G;' stras ,f.MAXBYTES/1024/1024/1024 as maxsize,f.*
from dba_data_files f
--where f.TABLESPACE_NAME='PSINDEX'
where f.TABLESPACE_NAME  in('PSINDEX','GPAPP','HRLARGE','PSIMAGE2','HRSLARGE','EOECLRG')
;
根據表空間添加或修改數據文件

 

create user kmetlmd IDENTIFIED by kmetlmd2016;
GRANT CREATE USER,DROP USER,ALTER USER,
CREATE ANY VIEW, DROP ANY VIEW,
EXP_FULL_DATABASE,IMP_FULL_DATABASE, 
DBA,CONNECT,RESOURCE,CREATE SESSION  
TO kmetlmd;
建立用戶與受權

 

create tablespace cdmods  datafile 'F:\APP\ORADATA\KMMEDICAL\cdmods01.dbf' size 200M autoextend on  next 100M maxsize 10000M extent management local; 
create tablespace cdmdatamarket  datafile 'F:\APP\ORADATA\KMMEDICAL\cdmdatamarket.dbf' size 200M autoextend on  next 100M maxsize 10000M extent management local; 


create user cdmods IDENTIFIED by kmcdmods1220 DEFAULT TABLESPACE cdmods;
create user cdmdatamarket IDENTIFIED by cdmdatamarket1220 DEFAULT TABLESPACE cdmdatamarket;

GRANT 
CREATE TABLE,
CREATE SEQUENCE,
CREATE ROLE,
CREATE PUBLIC SYNONYM,
DROP PUBLIC SYNONYM, 
CREATE SYNONYM,
CREATE VIEW,
DEBUG CONNECT SESSION,
CREATE DATABASE LINK,
CREATE CLUSTER,
EXP_FULL_DATABASE,
IMP_FULL_DATABASE,
ALTER SESSION,
CREATE SESSION,
CONNECT,
RESOURCE
TO cdmods;


GRANT 
CREATE TABLE,
CREATE SEQUENCE,
CREATE ROLE,
CREATE PUBLIC SYNONYM,
DROP PUBLIC SYNONYM, 
CREATE SYNONYM,
CREATE VIEW,
DEBUG CONNECT SESSION,
CREATE DATABASE LINK,
CREATE CLUSTER,
EXP_FULL_DATABASE,
IMP_FULL_DATABASE,
ALTER SESSION,
CREATE SESSION,
CONNECT,
RESOURCE
TO cdmdatamarket;
建立表與受權

 

---受權對象權限或角色
grant execute on km.func_decrypt to encryptfun;
GRANT DBA TO KM
    
---取消權限
REVOKE ALL ON KM.FUNC_DECRYPT FROM ENCRYPTFUN; 
REVOKE DBA from KM;
    
SELECT * FROM USER_TAB_PRIVS_MADE WHERE GRANTEE='ENCRYPTFUN'; 
    
-----如下是查詢對象權限
SELECT *
FROM DBA_TAB_PRIVS p
WHERE GRANTEE IN
(
 'ENCRYPTFUN'
)
;
 
 
----如下是系統角色或系統權限
 
SELECT *
FROM DBA_TAB_PRIVS p
WHERE GRANTEE IN
  (SELECT GRANTED_ROLE FROM DBA_ROLE_PRIVS 
     WHERE GRANTEE in
           (
  
             'ENCRYPTFUN'
           )
  );
取消權限

 http://www.cnblogs.com/mq0036/archive/2012/12/31/2840637.html數據庫

查詢用戶擁有哪裏權限: 
SQL> select * from dba_role_privs;
 SQL> select * from dba_sys_privs;
 SQL> select * from role_sys_privs; 
查本身擁有哪些系統權限
 SQL> select * from session_privs; 
查詢用戶及系統權限
相關文章
相關標籤/搜索