1 创建用户:
create user test identified by test;
2 创建表空间:
create tablespace t_test datafile 'E:\store\biao_kong\test_liu.dbf' size 10M;
3 将test的表空间修改为t_test:
alter user test default tablespace t_test;
4 给用户授权:
grant create session, create table, unlimited tablespace totest; //可根据情况自行添加
5 切换用户到test,导入sql脚本:
conn test/test;
@d:\share\tets.sql;