一、索引 索引是对数据库表中一列或多列的值进行排序的一种结构,使用索引可以提高数据库中特定数据的查询速度。 索引的分类: 1、普通索引,允许在定义索引的列中插入重复值和空值。 唯一索引,索引列的值必须是唯一,但允许有空值。 2、单列索引,一个索引只包含单个列,一个表可以有多个单列索引。 组合索引,指 ...
分类:
数据库 时间:
2018-05-06 22:53:07
阅读次数:
234
数学函数 Return Type Name (Signature) Description DOUBLE round(DOUBLE a) Returns the rounded BIGINT value of a. 返回对a四舍五入的BIGINT值 DOUBLE round(DOUBLE a, IN ...
分类:
其他好文 时间:
2018-05-04 20:14:32
阅读次数:
208
C# Code:/// <summary>/// 生成二维码,支持中文/// </summary>/// <param name="data"></param>/// <returns></returns>private static Image GenerateQRBarcode(string d ...
分类:
其他好文 时间:
2018-05-03 11:38:25
阅读次数:
177
numpy.argmax numpy.argmax(a, axis=None, out=None)[source] Returns the indices of the maximum values along an axis. Parameters: a : array_like Input ar ...
分类:
其他好文 时间:
2018-05-01 15:58:08
阅读次数:
210
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Script.Serialization; using System.Text; using S... ...
分类:
微信 时间:
2018-04-28 19:36:39
阅读次数:
217
/// <summary> /// 将DataTable对象转换成XML字符串 /// </summary> /// <param name="dt">DataTable对象</param> /// <returns>XML字符串</returns> public static string Get ...
C#判断输入是否数字 http://www.cnblogs.com/zhouzangood/articles/3613738.html ...
一、根据身份证获取出生日期和性别/** * 根据身份证获取出生日期(yyyy-MM-dd) * @param psidno * @returns {birthday:yyyy-MM-dd} * @constructor */ function GetBirthday(psidno){ var bir... ...
分类:
Web程序 时间:
2018-04-26 12:24:07
阅读次数:
219
随着手机的拍照像素越来越高,导致图片赞的容量越来越大,如果上传多张图片不进行压缩、质量处理很容易出现OOM内存泄漏问题。 最近做了一个项目,向webservices上传多张照片,但是项目部署出来就会出现闪退现象,后来经行调试发现图片没有进行压缩,一张图片大小为2M,然而webservices没法接搜 ...
分类:
移动开发 时间:
2018-04-25 14:56:00
阅读次数:
225
setTimeout(function(){ var items=document.getElementsByClassName("listItem"); for(var i=0;i<items.length;i++){ if(items[i].scrollHeight>42){ $clamp(it ...
分类:
其他好文 时间:
2018-04-24 15:34:44
阅读次数:
413