This link has a great discussion about this problem. You may refer to it if you like. In fact, the idea and code in this passage is from the former li...
分类:
其他好文 时间:
2015-06-25 16:59:52
阅读次数:
122
#查看日期情况
#show variables like '%general%';
#开启日志
#SET GLOBAL general_log = 'On';
#指定日志文件
#SET GLOBAL general_log_file = 'E:/my.log';...
分类:
数据库 时间:
2015-06-24 16:33:13
阅读次数:
173
错误原因:当POST的数据超过 max_allowed_packet 就会报 MySQL server has gone away 的错误。1、查看当前Mysql的max_allowed_packetshow global variables like 'max_allowed_packet';默认...
分类:
数据库 时间:
2015-06-24 14:19:17
阅读次数:
145
mySQL运算符这些运算符在SQL查询中用得到。算数运算符+ 加- 减* 乘/ DIV 除% MOD 取余数比较运算符= 等于 != 不等于>=Between 指定范围In 存在于集合Is null 为NULLIs not null 不为空Like 通配符Regexp rlike 正则表达式比如比较...
分类:
数据库 时间:
2015-06-24 12:26:06
阅读次数:
167
如果数据库中有非常多张表,而我们又只想导出需要的那几张可以使用如下命令 --只导出test1、test2表
exp myname/mypassword@orcl file = d:\my.dmp tables=(test1,test2);也可以使用正则,如下:exp myname/mypassword@orcl file = d:\my.dmp tables=(table_name like '...
分类:
数据库 时间:
2015-06-23 23:14:22
阅读次数:
213
利用零碎的时间,先把以后用的知识点提前准备好。最近比较忙,正在准备一篇绑定C++对象到Lua中。但是,不想轻易下手,希望做足准备。
这篇翻译来自于lua-users.org ,原文地址。
Light User Data
Light userdata, like heavy userdata, are a form of userdata, which is one of the basi...
分类:
编程语言 时间:
2015-06-23 21:39:50
阅读次数:
469
The short summary of the article is that CAP isn’t “C, A, or P, choose
two,” but rather “When P happens, choose A or C.”Partitions, like death and taxes, are unavoidable – think of machine
death as j...
分类:
其他好文 时间:
2015-06-23 20:09:49
阅读次数:
115
select * from db_domaininfo k left join tb_country p on (p.countryid=k.countryid) where k.brandname like '%af%' and p.countryname like '%es%' order by...
分类:
Web程序 时间:
2015-06-23 15:33:27
阅读次数:
145
题目:The string "PAYPALISHIRING" is written in a zigzag pattern on a given number of rows like this: (you may want to display this pattern in a fixed fo...
分类:
其他好文 时间:
2015-06-23 13:24:20
阅读次数:
114
#6 ZigZag Conversion
The string "PAYPALISHIRING" is written in a zigzag pattern on a given number of rows like
this: (you may want to display this pattern in a fixed font for better legibility)...
分类:
其他好文 时间:
2015-06-22 22:25:11
阅读次数:
181