a.ctlload data infile * 指定加载文件,*表示数据就在控制文件后面into table bonus 指定表名fields terminated by "," 指定区域分隔符就是逗号(ename,job,sal) 指定表的列名begindata 仅当infile 指定*时有效sm ...
分类:
数据库 时间:
2018-01-30 20:02:44
阅读次数:
238
uniq命令用于报告或忽略文件中的重复行,一般与sort命令结合使用。语法uniq(选项)(参数)选项-c或——count:在每列旁边显示该行重复出现的次数;
-d或--repeated:仅显示重复出现的行列;
-f<栏位>或--skip-fields=<栏位>:忽略比较指定的栏位;
-s<字符位置>或--skip-chars=<字符位置>:忽略比较
分类:
系统相关 时间:
2018-01-30 12:45:49
阅读次数:
225
最初模型的建立: 1959年,Hubel & Wiesel发现动物视觉皮层中的细胞负责检测感受野(receptive fields)中的光线。论文:Receptive fields and functional architecture of monkey striate cortex(1968) ...
分类:
其他好文 时间:
2018-01-27 17:10:18
阅读次数:
438
PL/SQL查询时,如果Number(17)以上的大数,会显示为科学计数法 解决方法: TOOLS->PREFERENCES->WINDOW TYPE->SQL WINDOW下选中Number fields to_char即可。 ...
分类:
数据库 时间:
2018-01-24 19:55:15
阅读次数:
158
Selecting fields to return Version:5.x 英文原文地址: "Selecting fields to return" 有时候,不需要让 Elasticsearch 返回查询的文档中的全部字段。举个栗子,当展示最近发布的博客时,在查找到最新的帖子后只需要返回博客的标题 ...
分类:
其他好文 时间:
2018-01-21 14:49:53
阅读次数:
107
最近把ElasticStack从5.2.2版本升级到6.0.0版本,性能确实有所提高,文档记录了升级过程中需要注意的一些问题。架构图一、Filebeat6.0版本filebeatprospectors中的document_type被禁用,原来的topic:‘%{[type]}‘获取文档类型的方式不可用,但是引入了fields,后面映射模板也会用到。1、document_type:y
分类:
其他好文 时间:
2018-01-19 16:54:32
阅读次数:
500
Model:表与表之间的关系:hasOne 一对一( $fields, $referenceModel, $referencedFields : 当前表中的字段, 对应关系模型, 对应关系模型中表的字字段 )hasMany 一对多 ( $fields, $referenceModel, $refer ...
分类:
其他好文 时间:
2018-01-16 10:21:32
阅读次数:
163
Object-oriented programming (OOP) is a programming paradigm based on the concept of "objects", which may contain data, in the form of fields, often kn ...
分类:
其他好文 时间:
2018-01-16 00:50:11
阅读次数:
161
学习位运算 cpp include include using namespace std; int n, m, dp[15][4105], a[15], uu, ans; const int mod=100000000; int main(){ cin m n; for(int i=1; i ...
分类:
其他好文 时间:
2018-01-12 20:24:51
阅读次数:
136
一、wtforms源码流程 1、实例化流程分析 1 # 源码流程 2 1. 执行type的 __call__ 方法,读取字段到静态字段 cls._unbound_fields 中; meta类读取到cls._wtforms_meta中 3 2. 执行构造方法 4 5 a. 循环cls._unboun ...
分类:
其他好文 时间:
2018-01-11 22:20:39
阅读次数:
146