码迷,mamicode.com
首页 >  
搜索关键字:maximum value    ( 41834个结果
sql serve 创建序列
Oracle中有sequence的功能,SQL Server类似的功能使用Identity列实现,但是有很大的局限性。在2012中,微软终于增加了sequence 对象,功能和性能都有了很大的提高。sql server 2012 序列配置属性1. 查询序列的下一个值select next value...
分类:数据库   时间:2014-05-08 19:35:44    阅读次数:446
研二下学期做的第一个项目(主要关于datagridview的一些笔记)
首先是行标题列rowheaderdataGridView1.TopLeftHeaderCell.Value = "details";_______________________________________________________有的时候在datagridview中手动添加列的时候,就算...
分类:Windows程序   时间:2014-05-08 19:21:15    阅读次数:390
SqlServer中循环查询结果集
declare @id int,@value nvarchar(100);begin declare c_test_main cursor fast_forward for select hps_hpId,hps_time from hospitalPermSupp where hps_...
分类:数据库   时间:2014-05-08 14:39:27    阅读次数:498
Constants in C++
The first motivation for constseems to have been to eliminate the use of preprocessor #definefor value substitution. It has since been put to use for ...
分类:编程语言   时间:2014-05-08 13:14:07    阅读次数:496
《C++ Primer Plus 第六版》读书笔记
CH1-3:处理数据 1 列表初始化 char c={31325};不允许缩窄 char c={66}; char c={x};不能为变量 2 强制类型转换 (typename) value typename (value) static_cast (value) 更加严格 CH4:复合类型 1 s...
分类:编程语言   时间:2014-05-08 11:56:13    阅读次数:377
Hadoop-5、排序(Combiner泛谈)
一、Combiner作用1、combiner最基本是实现本地key的聚合,对map输出的key排序,value进行迭代。如下所示:map: (K1, V1) → list(K2, V2)combine: (K2, list(V2)) → list(K2, V2)reduce: (K2, list(V...
分类:其他好文   时间:2014-05-08 09:37:49    阅读次数:472
cookie和session
cookie存在于客户端,session存在于服务器端。 session:session即一次会话。比如,用户登录站点,浏览了几个页面。然后退出登录了。这就是一次会话。有些站点会在页面上显示:你已登录××分钟。就是用了session。怎么来实现session呢。每个session都会有一个sessi...
分类:其他好文   时间:2014-05-08 09:24:41    阅读次数:370
二叉树附加删除算法
public class Tree { TreeNode last = null; TreeNode root = null; public Tree(int value){ root = createNode(value); } ...
分类:其他好文   时间:2014-05-08 01:04:08    阅读次数:349
Leetcode:Max Points on a Line
Given n points on a 2D plane, find the maximum number of points that lie on the same straight line. 解题想法: 其实判断一个直线上最好的方法是判断斜率。如果在同一直线上,那么直线上一点与其他点的斜率相...
分类:其他好文   时间:2014-05-07 21:13:02    阅读次数:323
JavaScript 覆盖document.createElement 方法
最近项目遇到了问题,有个asp.net web程序只能在IE7 运行,现在xp都淘汰了,大家都用IE8-IE11,因此这个web app也需要升级 适应所有IE版本。照成IE版本不兼容的问题主要来致document.createElement方法的调用,如: function addStyleNo(value, cannotDel) {     if (!value) {         v...
分类:编程语言   时间:2014-05-07 15:14:45    阅读次数:497
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!