oracle 建表空间用户及赋权

来源:互联网 发布:mac奶瓶双用粉底液色号 编辑:程序博客网 时间:2024/05/19 13:30

--ORACLE建表空间用户及赋权
--建表空间CREATE tablespace weijldatafile "E:\APP\ADMINISTRATOR\ORACLE\ORCL\weijl.DBF"size 10Mautoextend on next 5M;--删除表空间drop tablespace weijl including contents and datafiles;--建用户CREATE USER weijl identified by weijldefault tablespace weijltemporary tablespace temp;--赋权grand dba,resource,connect to weijl;--删除用户drop user weijl;

--大象数据库备份还原--cd 到postgresql/bin目录下,备份数据库pg_dump -h localhost -U postgresql puc  >  C:/backup-2017.bak


ORACLE导入导出语句:

exp hytera/hytera@192.168.10.78  file=D:\2017-08-17.dmpimp hytera/hytera@192.168.10.200 file=D:\2017-08-17.dmp fromuser=hytera touser=hytera full=y




原创粉丝点击