ORCALE创建表空间 用户 导入

CREATE TABLESPACE MOBILEATTEND DATAFILE
  'C:\oracle\OracleData\crm\MobileAttend.DBF' SIZE 100M AUTOEXTEND ON NEXT 100M MAXSIZE UNLIMITED
LOGGING
ONLINE
EXTENT MANAGEMENT LOCAL AUTOALLOCATE
BLOCKSIZE 8K
SEGMENT SPACE MANAGEMENT AUTO
FLASHBACK ON;

CREATE USER LIVEBOS_MA
  IDENTIFIED BY abs
  DEFAULT TABLESPACE MOBILEATTEND
  TEMPORARY TABLESPACE TEMP
  PROFILE DEFAULT
  ACCOUNT UNLOCK;
  -- 1 Role for LIVEBOS_MA
  GRANT DBA TO LIVEBOS_MA;
  ALTER USER LIVEBOS_MA DEFAULT ROLE ALL;
  -- 1 System Privilege for LIVEBOS_MA
  GRANT UNLIMITED TABLESPACE TO LIVEBOS_MA;


imp LIVEBOS_MA/abs@ORCL file=d:\livebos_ma.dmp log=d:\hkbimp.log full=y

你可能感兴趣的:(orcale)