MacOS 10.6.8 Snow LeopardMySQL 5.5.13MySQL默认安装(被安装在/usr/local/mysql目录下)通过show variables like 'character%'命令查看其中有部分字符集使用的为latin1在MacOS中需要主动创建一个新的配置文件,并...
分类:
数据库 时间:
2015-06-02 06:49:27
阅读次数:
153
ADB not responding. If you'd like to retry, then please manually kill "adb.exe" and click 'Restart'Errors from ADB:ddms: 'I:\android-sdk\platform-tool...
分类:
数据库 时间:
2015-06-02 01:37:47
阅读次数:
277
CD MakingTime Limit: 20 SecMemory Limit: 256 MB题目连接http://acm.uestc.edu.cn/#/problem/show/65DescriptionTom has N songs and he would like to record the...
分类:
其他好文 时间:
2015-06-02 00:17:06
阅读次数:
195
Problem DescriptionPassword security is a tricky thing. Users prefer simple passwords that are easy to remember (like buddy), but such passwords are o...
分类:
其他好文 时间:
2015-06-02 00:14:02
阅读次数:
193
To be useful, every language must have a platform or standard library or API of functions for performing things like basic input and output. The core ...
分类:
其他好文 时间:
2015-06-01 23:58:35
阅读次数:
288
用Select…like %…%来查找MySQL的text类型字段的一个中文,却发现查出来的是乱的,发现不少人也遇到这样的问题。在中文排序和查找的时候,汉字的结果是错误的。 原因在于MySQL在查找字符串的时候大小写不敏感,字符集默认使用ISO-8859,在转换过程中会出现问题。 有两种方...
分类:
数据库 时间:
2015-06-01 13:06:12
阅读次数:
177
想要查询某字段含有下划线的记录,发现以下sql语句条件是无效的,会查询出表中所有的记录。select * from t_members t where t.c_memberid like '%_%'原因:在like语句中的下划线的含义是“任意一个字符”,类似“%”代表匹配任意多个字符的。正确的写法应...
分类:
其他好文 时间:
2015-06-01 11:16:42
阅读次数:
129
ZigZag ConversionThe string"PAYPALISHIRING"is written in a zigzag pattern on a given number of rows like this: (you may want to display this pattern i...
分类:
编程语言 时间:
2015-05-31 20:02:46
阅读次数:
155
昨天刚入的1257,很冷门的一款手机,本人比较喜欢板砖机,这款还不错,主要还有价格便宜。今天发现进不了工程模式,网上的各种*#*#,like*#*#3646633#*#*、*#*#13411#*#*等等各种,统统在这款手机上没有反映,看来夏新也是做了设置的,不希望用户进入工程模式。这让我更想进入..
分类:
其他好文 时间:
2015-05-31 18:49:06
阅读次数:
279
概述该篇主要介绍一些常用的sql优化技巧sql优化1.select * from table_name where;建议将*改为需要的列。这对速度不会有明显的影响,主要考虑节省内存。2.like语句一般情况下不鼓励使用like操作,如果非使用不可,如何使用也是一个问题。like “%aaa%” 不会使用索引而like “aaa%”可以使用索引。3.不要在列上进行运算,无法运用索引select * f...
分类:
数据库 时间:
2015-05-31 18:33:03
阅读次数:
212