Oracle user operations

Source: Internet
Author: User

Oracle user related operations currently orcl databases use sys as sysdba to create users: create user epa_dev identified by epa_dev default tablespace NNC_DATA01 temporary tablespace temp; grant create session to epa_dev; grant create table to epa_dev; grant dba to epa_dev; alter user epa_dev quota unlimited on limit; create user eprk_dev identified by eprk_dev default tablespace limit temporary tablespace temp; grant dba to eprk_dev; alter user eprk_dev quota unlimited on limit; create user wujian identified by wujian default tablespace users temporary tablespace temp; grant create session to wujian; grant create table to wujian; -- change the user's quota on the tablespace, after 10gR2, you cannot assign alter user wujian quota unlimited on users in temp; -- assign dba role grant dba to wujian; -- assign all object permission grant all on wujian. "user" to wujian; -- query the system permissions owned by the user. select * from dba_sys_privs where lower (grantee) = 'wujian '; -- query the object permissions owned by a user. select * from dba_tab_privs where lower (grantee) = 'wujian ';

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.