数据库(表)的逻辑备份与恢复——导出
system可导出任何方案,例如:
exp system/manager@myoral owner(system,scott) file=d:system.dmp;//注:可导出两种方案system方案和Scott方案
exp system/manager@myoral owner(scott) file=d:system.dmp;//只可导出S...
分类:
数据库 时间:
2014-10-02 18:27:03
阅读次数:
347
Pro Git (Scott Chacon) 第三章 git分支:
分类:
其他好文 时间:
2014-09-29 22:16:41
阅读次数:
203
前几天用oracle写存储过程,发现在存储过程中写update、insert或者delete语句都会编译错误,后来在不经意间找到了解决方案,加入emp表示scott用户的,如果用scott用户创建存储过程,表名=emp,这样创建的存储过程是可以写任意DML语句的但是用其余用户登录,如果采用norma...
分类:
数据库 时间:
2014-09-29 04:28:56
阅读次数:
307
1、创建scott模式[oracle@std dbs]$ sqlplus '/as sysdba'SQL*Plus: Release 10.2.0.1.0 - Production on Mon Feb 17 14:59:02 2014Copyright (c) 1982, 2005, Oracle...
分类:
其他好文 时间:
2014-09-24 00:46:55
阅读次数:
396
ogg同步的时候,有时候我们会遇见非常大的表。这时候我们可以使用多个replicat进程通过range参数进行分割分别应用到目标端数据库中
例如:
replicat rep2:
MAP scott.emp, TARGET scott.emp, FILTER (@RANGE (1,3));
replicat rep3:
MAP scott.emp, TARGET scott...
分类:
其他好文 时间:
2014-09-22 12:29:32
阅读次数:
172
先用scott用户下的emp表做实验.
emp表有个字段,一个是empno(员工编号),另一个是mgr(上级经理编号)
下面是表中所有数据
1
select *
from emp
start with empno=7698
connect by mgr=prior empno;
执行结果如下:
...
分类:
数据库 时间:
2014-09-19 13:55:06
阅读次数:
213
–1. 查询系统所有对象
select owner, object_name, object_type, created, last_ddl_time, timestamp, status
from dba_objects
where owner=upper('scott')
–2. 查看系统所有表
select owner, table_name, tablespace_name ...
分类:
数据库 时间:
2014-09-19 13:53:45
阅读次数:
317
Oracle DBA常用查询–1. 查询系统所有对象select owner, object_name, object_type, created, last_ddl_time, timestamp, statusfrom dba_objectswhere owner=upper('scott')–...
分类:
数据库 时间:
2014-09-18 13:10:33
阅读次数:
233
非常荣幸,受邀作为微软中国开发者代表[爱你]用英文作报告,向大神ASP.NET之父Scott Gu,微软全球高级副总裁介绍中国云计算与开发者现状。套图...
分类:
Web程序 时间:
2014-09-16 23:48:31
阅读次数:
499
世界顶级C++大师Scott Meyers的最新著作Effective Modern C++
分类:
编程语言 时间:
2014-09-16 13:59:20
阅读次数:
266