How to create a user in Oracle 11g and grant permissions

后端 未结 9 1519
梦谈多话
梦谈多话 2020-11-29 17:17

Can someone advise me on how to create a user in Oracle 11g and only grant that user the ability only to execute one particular stored procedure and the tables in that proce

9条回答
  •  盖世英雄少女心
    2020-11-29 18:06

    CREATE USER books_admin IDENTIFIED BY MyPassword;
    GRANT CONNECT TO books_admin;
    GRANT CONNECT, RESOURCE, DBA TO books_admin;
    GRANT CREATE SESSION GRANT ANY PRIVILEGE TO books_admin;
    GRANT UNLIMITED TABLESPACE TO books_admin;
    GRANT SELECT, INSERT, UPDATE, DELETE ON schema.books TO books_admin;
    

    https://docs.oracle.com/cd/B19306_01/network.102/b14266/admusers.htm#i1006107 https://chartio.com/resources/tutorials/how-to-create-a-user-and-grant-permissions-in-oracle/

提交回复
热议问题