Given a non-negative integer num, repeatedly add all its digits until the result has only one digit.For example:Given num = 38, the process is like: 3 + 8 = 11, 1 + 1 = 2. Since 2 has only one digit, r...
分类:
其他好文 时间:
2015-11-08 19:29:06
阅读次数:
231
Given a non-negative integernum, repeatedly add all its digits until the result has only one digit.For example:Givennum = 38, the process is like:3 + ...
分类:
其他好文 时间:
2015-11-08 14:30:48
阅读次数:
226
索引类型:主键索引,唯一索引,联合索引,普通索引,全文索引1. 一个列上建立索引后,如果是以like查询,百分号在左边则利用不上索引。好比 select a from t where bb like '%hehe';这种情况,bb有索引也用不上。。2. 如果利用or关键字的话,左右两边有一个字段没索...
分类:
数据库 时间:
2015-11-06 19:25:38
阅读次数:
247
show variables like 'char%'; charracter _set_database 是数据库安装的编码;这时候,用jdbc用该在连接时候,.getConnection(config.getDBUrl()+"?useUnicode=true&characterEncoding=...
分类:
数据库 时间:
2015-11-06 14:40:44
阅读次数:
210
select *from car--like 模糊select top 3 *from car where name like '宝马%' --like '%%' 模糊查询 %%代表什么可以有字符,后面也可以有任何字符select top 3 *from car where name like '....
分类:
其他好文 时间:
2015-11-06 00:05:22
阅读次数:
187
Quartz.net开源作业调度框架使用详解前言quartz.net作业调度框架是伟大组织OpenSymphony开发的quartz scheduler项目的.net延伸移植版本。支持cron-like表达式,集群,数据库。功能性能强大更不用说。下载项目文档官网:http://www.quartz-...
分类:
Web程序 时间:
2015-11-05 23:55:09
阅读次数:
347
原文链接:Shell编程 打算有时间简单了解shell编程1、shell结构 一个简单的例子:[root@localhost shell]# vi example#!/bin/sh#This is show what a example looks like.echo "my first sh...
分类:
系统相关 时间:
2015-11-05 18:38:36
阅读次数:
230
--?服务器发送和接受的最大包长度
SHOW?VARIABLES?LIKE?‘%max_allowed_packet%‘;
--?TCP/IP和socket连接的缓存大小
SHOW?VARIABLES?LIKE?‘%net_buffer_length%‘;
mysqldump?-uikadmin?-pikadmin?...
分类:
数据库 时间:
2015-11-05 15:26:26
阅读次数:
166
Maven does not directly support some libraries, like Microsoft’s SQL Server JDBC. This tutorial will show you how to add an external dependency to you...
分类:
数据库 时间:
2015-11-05 15:11:31
阅读次数:
331
年年雪里,常插梅花醉.挼尽梅花无好意,赢得满衣清泪.今年海角天涯,萧萧两鬓生华.看取晚来风势,故应难看梅花本章我们主要学习了: 1.使用 LIKE、BETWEEN、IN 进行模糊查询 2.使用聚合函数统计和汇总查询信息在模糊查询中,我们要学习的内容:10.1.1 通配符10.1.2 使用 LIKE ...
分类:
其他好文 时间:
2015-11-05 13:30:21
阅读次数:
129