1.首先新建两张表create table tb_goods( id int(11) not null primary key , goods_name varchar(128) not null, num int(11) default'0' ); create table tb_order( o...
分类:
数据库 时间:
2014-10-17 11:41:20
阅读次数:
199
下拉菜单Shape -> Select Shape or Void/Cavity点奇异点的边界,看到width为零的Line Segment 在Boundary层Ctrl+F5打开Color dialog对话框允许所有boundar Cavity显示下拉菜单EDIT ->DELETE ->Find选...
分类:
其他好文 时间:
2014-10-17 11:40:13
阅读次数:
2862
CREATE DATABASE store;use store;CREATE TABLE categories(category_id INT NOT NULL,category_name VARCHAR(50),PRIMARY KEY(category_id));CREATE TABLE prod...
分类:
数据库 时间:
2014-10-17 10:28:44
阅读次数:
194
前文再续,书接上一回,这次折腾Data Guard的一个重要目的是利用switchover实现机器的升级,怎么switchover呢?按照我的理解,Data Guard的角色切换是这样一个过程: (1)让primary节点变为standby节点。 (2)让其中一个standby节点变为primary...
分类:
数据库 时间:
2014-10-16 17:31:02
阅读次数:
339
聚集索引基于数据行的键值在表内排序和存储这些数据行,每个表只能有一个聚集索引, 因为数据行本身只能按一个顺序存储. 有关聚集索引体系结构的详细信息, 请参阅聚集索引结构.每个表几乎都对列定义聚集索引来实现下列功能:可用于经常使用的查询.提供高度唯一性.创建 PRIMARY KEY 约束时, 将在列上...
分类:
其他好文 时间:
2014-10-15 11:43:10
阅读次数:
276
Minimal coverage
The Problem
Given several segments of line (int the X axis) with coordinates [Li,Ri]. You are to choose the minimal amount of them, such they would completely cover the segment [0,...
分类:
其他好文 时间:
2014-10-14 23:52:09
阅读次数:
247
一、无限级分类-- 创建表create table it_category (cat_id int unsigned primary key auto_increment,cat_name varchar(50) default '',sort_order int default 0,parent_...
分类:
其他好文 时间:
2014-10-14 20:16:37
阅读次数:
173
ORACLE 11G在用EXP导出时,发现空表(没有数据或者没有用过的表)不能导出了。 查了一下资料,说是Oracle 11G中有个新特性,当表无数据时,不分配segment,以节省空间,所以这些表也没能导出来。用下面的SQL查询,发现不能导出的表, segment_created 字段值都是...
分类:
数据库 时间:
2014-10-14 19:27:49
阅读次数:
207
Analysis of segment descriptor...
分类:
其他好文 时间:
2014-10-14 14:37:48
阅读次数:
228
Flashback 技术是以Undo segment中的内容为基础的, 因此受限于UNDO_RETENTON参数。
要使用flashback 的特性,必须启用自动撤销管理表空间。
在Oracle 11g里又出了一个新特性:Oracle Flashback Data Archive.
FDA通过将变化数据另外存储到创建的闪回归档区(Flashback Archive)中,以和undo区别开来...
分类:
数据库 时间:
2014-10-14 12:55:08
阅读次数:
340