Oracle creates table spaces with users

Source: Internet
Author: User

/*Note: If you already have the appropriate user and table space, you will need to delete the appropriate user and tablespace before re-establishing all*/--Delete UserDrop UserXnzqweixinCascade;--Delete Table SpaceDropTablespace thinkweixin_data_temp including contents anddatafiles;DropTablespace Thinkweixin_data including contents anddatafiles;--Create a temporary table spaceCreate TemporaryTablespace thinkweixin_data_temp Tempfile'thinkweixin_data_temp. DBF'size 500M autoextend on;--CREATE TABLE SpaceCreateTablespace thinkweixin_data Logging DataFile'Thinkweixin_data. DBF'size 500M autoextend on;--Create a user and specify a tablespaceCreate UserXnzqweixin identified byxnzqweixindefaulttablespace thinkweixin_dataTemporarytablespace thinkweixin_data_temp profiledefault;--grant a user permissions to a roleGrantConnect toxnzqweixin;GrantResource toxnzqweixin;GrantDba toxnzqweixin;--granting system permissions to usersGrantUnlimited tablespace toxnzqweixin;Exit;

Oracle creates table spaces with users

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.