短信猫 Mysql ODBC问题
摘要:用了某公司的短信猫, 测试连不上MySQL数据库, 一直以为是MySQL ODBC的问题. 后来发现, 是某个表表名太长所致.
阅读全文
posted @
2013-01-25 18:20
思静
阅读(242)
推荐(0) 编辑
Fixed Event Scheduler No data - zero rows fetched, selected, or processed
摘要:在windows系统日志里出现Mysql调度错误日志: Fixed Event Scheduler No data - zero rows fetched, selected, or processed 网上找资料说在end loop后增加一行 SELECT ID INTO @Connid FROM information_schema.PROCESSLIST LIMIT 1; 即可 但试了还...
阅读全文
posted @
2013-01-21 17:41
思静
阅读(1692)
推荐(0) 编辑
各互联网公司UDE分享
摘要:淘宝UED http://ued.taobao.com/blog/ 携程UED http://ued.ctrip.com/blog/ 网易UED http://uedc.163.com/ 人人网FED http://fed.renren.com/ 腾讯CDC http://cdc.tencent.com/ 腾讯ISD http://isd.tencent.com/blog...
阅读全文
posted @
2013-01-17 14:33
思静
阅读(288)
推荐(0) 编辑
本月,下一月, 上一月 的 1号, 最后一号
摘要:-- 上个月1号select date_sub(date_sub(date_format(now(),'%y-%m-%d'),interval extract(day from now())-1 day),interval 1 month)-- 上个月最后一天select date_sub(date_sub(date_format(now(),'%y-%m-%d'),interval ext...
阅读全文
posted @
2013-01-17 11:16
思静
阅读(220)
推荐(0) 编辑
PHP时区列表
摘要:PHP时区列表 $timezoneTable = array( "-12" => "(GMT -12:00) Eniwetok, Kwajalein", "-11" => "(GMT -11:00) Midway Island, Samoa", "-10" => "(GMT -10:00) Hawaii", "-9" => "(GMT -9:00) ...
阅读全文
posted @
2013-01-16 10:36
思静
阅读(931)
推荐(0) 编辑
存储过程中的 prepare
摘要:set @ins := concat('replace into ',@tbl,'_archive select * from ',@tbl,' where ',@col,' < ',@plw);prepare instmnt from @ins;execute instmnt;
阅读全文
posted @
2013-01-16 10:14
思静
阅读(771)
推荐(0) 编辑
MySQL周分区 生成周分区辅助存储过程
摘要:按周分区的建表语句如下: CREATE TABLE `article` ( `Article_ID` int(11) NOT NULL AUTO_INCREMENT, ... ... `Extracted_Time` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP, KEY `PRIMARYKeyID` (`Ar...
阅读全文
posted @
2013-01-10 15:30
思静
阅读(1974)
推荐(0) 编辑
Jquery 父窗口中移进移出鼠标到Iframe: 移进显示更多内容, 移出隐藏部分内容
摘要://父窗口中的JS //设置iframe的高度 function heightSet(){ if($.browser.mozilla || $.browser.msie){ bodyHeight =window.frames["iFrame2"].document.body.scrollHeight; }else{ bodyHeigh...
阅读全文
posted @
2013-01-06 11:04
思静
阅读(1412)
推荐(0) 编辑