表空间与用户的创建
create tablespace spaceName(表空间)
datafile  'D:/app/Administrator/oradata/orcl/EINVOICEDATA.dbf' size 128m  autoextend on  next  100m; 
-- Create the user 
create user userName(用户名)
  identified by password(密码)
  default tablespace userName(用户名)
  temporary tablespace TEMP;
-- Grant/Revoke role privileges 
grant connect to userName(用户名);
grant dba to userName(用户名);
GRANT SELECT ANY TABLE TO userName(用户名) WITH ADMIN OPTION;










