- --Create a temporary table space
- Create temporary tablespace yhtemp
- Tempfile ' d:/oracle/oradata/oracle10g/yhtemp.dbf '
- Size 50m
- Autoextend on
- Next 50m maxsize 20480m
- Extent management Local;
- --Create a data table space
- Create Tablespace YH
- Logging
- DataFile ' d:/oracle/oradata/oracle10g/yh.dbf '
- Size 50m
- Autoextend on
- Next 50m maxsize 20480m
- Extent management Local;
- --Create a user and specify a tablespace
- Create user yh identified by password
- Default Tablespace YH
- Temporary tablespace yhtemp;
- --Granting permissions to users
- Grant CONNECT,RESOURCE,DBA to YH;
- --Revoke this permission
- Revoke unlimited tablespace from YH
- --Set the user's quota for the Yss,test1 table space to 0
- Alter user YH quota 0 on Yss
- Alter user YH quota 0 on Test1
- --Set the user's quota in the YH table space is not limited
- 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