admin11

Oracle创建表空间,导出数据库,导入数据库

create   tablespace   TBS_ATIS   datafile   \'D:\oracle\product\10.2.0\oradata\ATIS\TBS_ATIS.dbf\'   size   100M  
  autoextend   on   DEFAULT   STORAGE   (   INITIAL   256k   next   256k);;

imp userid=atis/atis@TONGSY full=y file=E:\oracle_backup\Atis.dmp

exp atis/atis@TONGSY file=E:/oracle_backup/atis.dmp log=E:/oracle_backup/atis.log grants=Y


创建同义词
CREATE PUBLIC SYNONYM 摄像机 FOR gis.摄像机1; 

 

create user atis identified by atis;
grant CONNECT to atis;
grant DBA to atis;
grant create any table to atis;
grant insert any table to atis;
grant delete any table to atis;
grant select any table to atis;
grant drop any table to atis;
grant under any table to atis;
grant alter any table to atis;
grant update any table to atis;
grant comment any table to atis;
grant unlimited tablespace to atis;
commit;

分类:

技术点:

相关文章:

  • 2021-09-05
  • 2021-11-30
  • 2022-12-23
  • 2021-12-27
  • 2022-12-23
  • 2022-12-23
  • 2023-03-08
  • 2021-12-04
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-06-01
  • 2021-05-18
  • 2022-12-23
  • 2021-04-13
  • 2022-01-07
相关资源
相似解决方案