英文原文:Mastering Linear Algebra in 10 Days: Astoundin 译者:MapleFlying最近,我的朋友斯考特·杨(Scott Young)成就了一个惊人的壮举:他在一年之内,完成了传说中的MIT计算机科学课程表的全部33门课,从线性代数到计算理论。最...
分类:
其他好文 时间:
2014-10-06 13:09:10
阅读次数:
143
SQL_修改表结构
说明
实验环境:利用scott用户数据,简单举例修改表结构范例
SQL> create table emp1 as select * from emp;
Table created
--创建实验表
1. 表中添加新列
(1)、语法
SQL> alter table 表名 add (列名 数据类型 [,列名 数据类型] ...);
(2)、注意事项
新添...
分类:
数据库 时间:
2014-10-03 22:24:25
阅读次数:
349
数据库(表)的逻辑备份与恢复——导出
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