10 2012 档案

摘要:1. 指定恢复时间 对于MySQL 4.1.4,可以在mysqlbinlog语句中通过--start-date和--stop-date选项指定DATETIME格式的起止时间。举例说明,假设在今天上午10:00(今天是2006年4月20日),执行SQL语句来删除一个大表。要想恢复表和数据,你可以恢复前 阅读全文
posted @ 2012-10-30 16:13 末世 阅读(852) 评论(0) 推荐(0)
摘要:text = ! isset ( $showText ) ? $showText : $this->text; $this->show (); } function createText($instring) { $outstring = ""; $max = strlen ( $instring ); for($i = 0; $i = 160 && $i createTex... 阅读全文
posted @ 2012-10-23 15:28 末世 阅读(360) 评论(0) 推荐(0)
摘要:$('#doreg-submit').attr('disabled','disabled'); 阅读全文
posted @ 2012-10-11 17:31 末世 阅读(95) 评论(0) 推荐(0)
摘要:1.ALTER TABLE ALTER TABLE用来创建普通索引、UNIQUE索引或PRIMARY KEY索引。 其中table_name是要增加索引的表名,column_list指出对哪些列进行索引,多列时各列之间用逗号分隔。索引名index_name可选,缺省时,MySQL将根据第一个索引列赋 阅读全文
posted @ 2012-10-11 14:02 末世 阅读(125) 评论(0) 推荐(0)