Oracle Grant permission and Create SYNONYM
--===============================================
--== Grant permission of sequences to RT_USER
--== select 'GRANT SELECT on RT_OWNER.'||sequence_name||' TO RT_USER;' FROM user_sequences order by sequence_name;
--===============================================
--===============================================
--== Grant permission of tables to RT_USER
--== Select 'GRANT SELECT,INSERT,UPDATE,DELETE on RT_OWNER.'||table_name||' TO RT_USER;' FROM user_tables order by table_name;
--===============================================
--===============================================
--== Create private SYNONYM for sequneces in RT_OWNER
--== select 'CREATE OR REPLACE SYNONYM RT_USER.'||sequence_name||' FOR RT_OWNER.'||sequence_name||';' FROM user_sequences order by sequence_name;
--===============================================
--===============================================
--== Create private SYNONYM for tables in RT_OWNER
--== select 'CREATE OR REPLACE SYNONYM RT_USER.'||table_name||' FOR RT_OWNER.'||table_name||';' FROM USER_TABLES order by table_name;
--===============================================
来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/12476590/viewspace-628962/,如需转载,请注明出处,否则将追究法律责任。
转载于:http://blog.itpub.net/12476590/viewspace-628962/
- 点赞
- 收藏
- 分享
- 文章举报
- SQL Server 2005 create user and grant permission
- oracle create tablespace、user and grant
- create users and grant privilages
- Create a New SharePoint Permission Level and Bind it to an Existing SharePoint Group
- to create table if table do not exist -- to backup and restore table in oracle
- Oracle exploit for CTXSYS.DRVXTABC.CREATE_TABLES and others
- Map Columns From Different Tables and Create Insert and Update Statements in Oracle Forms
- Oracle:Create tablespace and move table to another tablespace
- How To Create a New User and Grant Permissions in MySQL
- mysql create and grant
- Populate A List Item With Record Group In Oracle Forms Using Populate_List And Create_Group_From_Query Command
- oracle create tablespaces and create user ---cxl
- Oracle create trigger and sequence
- Create a New SharePoint Permission Level and Bind it to an Existing SharePoint Group
- oracle create user and create tablespace
- MySQL create users and grant privilege
- oracle中的 create function 权限grant create function to user
- oracle dbca silent mode create CDB and PDB sample code
- Populate A List Item With Record Group In Oracle Forms Using Populate_List And Create_Group_From_Query Command
- Oracle create tablespace 、create user and so on