Create Database create tablespace create user

Source: Internet
Author: User
1 Create tablespace tablespcename datafile '  C: \ oracle \ oradata \ AXP \ tablespcename. DBF  '  Size 100 m autoextend on next 10 m;  2   3 -- Create the user  4   Create user jhabb  5   Identified by jhabb  6   Default Tablespace tablespcename  7   Temporary tablespace temp;  8     9   10   Grant DBA to jhabb;  11   Grant unlimited tablespace to jhabb;  12   Grant alter any procedure to jhabb;  13   Grant create procedure to jhabb;  14   Grant create session to jhabb; 15   Grant create table to jhabb;  16   Grant create view to jhabb;  17 Grant Select  Any table to jhabb;  18   Grant create any trigger to jhabb;  19   Grant create sequence to jhabb;  20 Grant create type to jhabb;

Usually, you need to make a backup.

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.