Git中从远程的分支获取最新的版本到本地有这样2个命令:1. git fetch:相当于是从远程获取最新版本到本地,不会自动merge git fetch origin master git log -p master..origin/master git merge origin...
分类:
其他好文 时间:
2014-07-03 11:01:44
阅读次数:
157
聚合函数:SQL中提供的聚合函数可以用来统计、求和、求最值等等。分类:–COUNT:统计行数量–SUM:获取单个列的合计值–AVG:计算某个列的平均值–MAX:计算列的最大值–MIN:计算列的最小值首先,创建数据表如下:执行列、行计数(count):标准格式SELECT COUNT() FROM 其...
分类:
数据库 时间:
2014-07-01 18:05:59
阅读次数:
234
Q查询——对对象的复杂查询F查询——专门取对象中某列值的操作Q查询1、Q对象(django.db.models.Q)可以对关键字参数进行封装,从而更好地应用多个查询,例如:from django.db.models import Qfrom login.models import New #mode...
分类:
其他好文 时间:
2014-07-01 18:04:08
阅读次数:
416
using System;using System.Collections.Generic;using System.Linq;using System.Web;using System.Web.UI;using System.Web.UI.WebControls;using System.Data...
分类:
其他好文 时间:
2014-07-01 18:02:42
阅读次数:
261
查看所有postgre语句执行时间:select procpid, start, now() - start as lap, current_query from (select backendid, pg_stat_get_backend_pid(s.backendid) as procpid, ...
分类:
其他好文 时间:
2014-07-01 17:35:56
阅读次数:
810
using System;using System.Collections.Generic;using System.Text;using System.Xml;using System.Data;using System.IO;namespace eBlog.Common.Files{public...
分类:
其他好文 时间:
2014-07-01 16:47:29
阅读次数:
176
前段时间发布的系统(Oracle+weblogic)频繁挂掉,每天早上9点、下午2点高峰期就挂,纠结了很长时间,最终解决,方法描述下。执行select count(*),status from v$session group by status;指令,发现不活动连接数比较大,当上升到一定数值之和,就...
分类:
数据库 时间:
2014-07-01 16:37:13
阅读次数:
243
There is something wrong in PhyreEngine 3.8 to fullfill MSAA, actually, I think it is eqaaYou have to merge the codes from PhyreEngine 3.9. Thank God ...
分类:
其他好文 时间:
2014-07-01 16:29:11
阅读次数:
268
国家气象局提供的天气预报接口接口地址:http://www.weather.com.cn/data/sk/101010100.htmlhttp://www.weather.com.cn/data/cityinfo/101010100.htmlhttp://m.weather.com.cn/data/...
Since I use Sublime ,I want to write aencoding convent program .Here isthe knowage what i need .InputStreamReader:This class is the brage from bytetyp...
分类:
其他好文 时间:
2014-07-01 13:57:23
阅读次数:
214