Role creation for top-level oracle users

Source: Internet
Author: User

Top-level users:

Username: SYS

Link: sysdba

Role creation:

/* Create the Customs V2.0 configuration library */drop tablespace cms_para including contents and datafiles; Create tablespace cms_para logging datafile 'd: \ oracle \ oradata \ orcl \ cms_para.ora 'size 5 m -- Oracle installation path reuse autoextend on next 1024 K maxsize 32767 M extent management local segment space management auto; /* Create the Customs V2.0 configuration Library User */drop user cms_para; create user cms_para profile "default" identified by "dcjet" default tablespace "cms_para" temporary tablespace "Temp" account unlock; grant connect to cms_para; grant DBA to cms_para; Alter user "cms_para" default role all;/* Create a customs V2.0 V2.0 V2.0 business database */drop tablespace cms_bus including contents and datafiles; create tablespace cms_bus logging datafile 'd: \ oracle \ oradata \ orcl \ cms_bus.ora 'size 5 m reuse autoextend on next 1024 K maxsize 32767 M extent management local segment space management auto; /* Create a Customs Service V2.0 V2.0 Business Database User */drop user cms_bus; create user cms_bus profile "default" identified by "dcjet" default tablespace "cms_bus" temporary tablespace "Temp" account unlock; grant connect to cms_bus; grant DBA to cms_bus; Alter user "cms_bus" default role all;
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.