Oracle 10g importing data into a specified table space

Source: Internet
Author: User

  1. --Create a temporary table space
  2. Create temporary tablespace yhtemp
  3. Tempfile ' d:/oracle/oradata/oracle10g/yhtemp.dbf '
  4. Size 50m
  5. Autoextend on
  6. Next 50m maxsize 20480m
  7. Extent management Local;
  8. --Create a data table space
  9. Create Tablespace YH
  10. Logging
  11. DataFile ' d:/oracle/oradata/oracle10g/yh.dbf '
  12. Size 50m
  13. Autoextend on
  14. Next 50m maxsize 20480m
  15. Extent management Local;
  16. --Create a user and specify a tablespace
  17. Create user yh identified by password
  18. Default Tablespace YH
  19. Temporary tablespace yhtemp;
  20. --Granting permissions to users
  21. Grant CONNECT,RESOURCE,DBA to YH;
  22. --Revoke this permission
  23. Revoke unlimited tablespace from YH
  24. --Set the user's quota for the Yss,test1 table space to 0
  25. Alter user YH quota 0 on Yss
  26. Alter user YH quota 0 on Test1
  27. --Set the user's quota in the YH table space is not limited
  28. Alter user YH quota unlimited on YH

Reprint to another blog, I use this step to import success

There are a few novice need to note, in the import time with their own established user name and password when landing, do not use SYSDBA permissions, or will be imported into the SYS user,

After the successful import, to view the table, with their own established user name and password login do not use SYSDBA login, otherwise you can not see the table you imported

Oracle 10g importing data into a specified table space

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.