锘??xml version="1.0" encoding="utf-8" standalone="yes"?>亚洲视频一区二区,亚洲欧美不卡高清在线,亚洲av永久无码精品天堂久久http://m.tkk7.com/17learning/category/53362.html鎴戠殑鍗氬錛歨ttp://blog.sina.com.cn/17learningzh-cnTue, 22 Sep 2015 22:54:17 GMTTue, 22 Sep 2015 22:54:17 GMT60mongdb 浣跨敤linux shell淇敼鏁版嵁http://m.tkk7.com/17learning/archive/2015/09/22/427431.html綆″厛椋?/dc:creator>綆″厛椋?/author>Tue, 22 Sep 2015 11:25:00 GMThttp://m.tkk7.com/17learning/archive/2015/09/22/427431.htmlhttp://m.tkk7.com/17learning/comments/427431.htmlhttp://m.tkk7.com/17learning/archive/2015/09/22/427431.html#Feedback0http://m.tkk7.com/17learning/comments/commentRss/427431.htmlhttp://m.tkk7.com/17learning/services/trackbacks/427431.html     /**
 * 鏃墮棿瀵硅薄鐨勬牸寮忓寲;
 */
Date.prototype.format = function(format) {
    /*
     * eg:format="YYYY-MM-dd hh:mm:ss";
     */
    var o = {
        "M+" :this.getMonth() + 1, // month
        "d+" :this.getDate(), // day
        "h+" :this.getHours(), // hour
        "m+" :this.getMinutes(), // minute
        "s+" :this.getSeconds(), // second
        "q+" :Math.floor((this.getMonth() + 3) / 3), // quarter
        "S" :this.getMilliseconds()
    // millisecond
    }
 
    if (/(y+)/.test(format)) {
        format = format.replace(RegExp.$1, (this.getFullYear() + "")
                .substr(4 - RegExp.$1.length));
    }
 
    for ( var k in o) {
        if (new RegExp("(" + k + ")").test(format)) {
            format = format.replace(RegExp.$1, RegExp.$1.length == 1 ? o[k]
                    : ("00" + o[k]).substr(("" + o[k]).length));
        }
    }
    return format;
}
var date =new Date();
var createdate=date.format("yyyy-MM-dd hh:mm:ss");
date.setMinutes(date.getMinutes()+5);
var validtime=date.format("yyyy-MM-dd hh:mm:ss");
db.UserOnlineInfo.update(
{
  "uid" : "110000350"
},
{$set : {
  "uid" : "110000350", 
  "createtime" : createdate,
  "validtime" : validtime
}});
db.UserOnlineInfo.update(
{
  "uid" : "110000351"
},
{$set : {
  "uid" : "110000351", 
  "createtime" : createdate,
  "validtime" : validtime
}});

2銆佺紪鍐檚hell鑴氭錛?br /> #/bin/bash
echo "update mongod begin"
cd /home/mongodb/mongodb-3.0.2/bin
./mongo  192.168.1.122:27108/YouLiao update.js;
echo "update mongod success"

3銆?鎵ц鑴氭湰錛?/div>
/home/mongodb/mongodb-3.0.2/bin/mongo  192.168.1.122:27108/YouLiao /root/www/job/mongo-test/update.js

澶囨敞錛?/div>
mongodb鏌ヨ銆佸垹闄ょ被浼?/div>

   

]]>sql鍒犻櫎璇彞鐨勫啓娉?/title><link>http://m.tkk7.com/17learning/archive/2015/03/01/423118.html</link><dc:creator>綆″厛椋?/dc:creator><author>綆″厛椋?/author><pubDate>Sun, 01 Mar 2015 14:52:00 GMT</pubDate><guid>http://m.tkk7.com/17learning/archive/2015/03/01/423118.html</guid><wfw:comment>http://m.tkk7.com/17learning/comments/423118.html</wfw:comment><comments>http://m.tkk7.com/17learning/archive/2015/03/01/423118.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://m.tkk7.com/17learning/comments/commentRss/423118.html</wfw:commentRss><trackback:ping>http://m.tkk7.com/17learning/services/trackbacks/423118.html</trackback:ping><description><![CDATA[<div>1銆佸琛ㄧ駭鑱斿垹闄わ細</div><div>---DELETE---</div><div>DELETE from a_msg_push,a_announcement</div><div>using a_msg_push,a_announcement</div><div>where  a_msg_push.announcement_id=a_announcement.id and a_announcement.Create_time<'2014-11-19 23:59:59';</div><div><br />2銆佸瓙鏌ヨ鍒犻櫎錛?/div><div>-----------delete--------</div><div>DELETE From  t_repeat  where t_repeat.id in(</div><div>SELECT tb.id from (</div><div>SELECT *  from t_repeat   t </div><div>where </div><div>1=1</div><div>and </div><div>(t.cid,t.uid ) in (select t1.cid,t1.uid from t_repeat t1 group by t1.cid,t1.uid having count(*) > 1) </div><div>and </div><div>t.id  not in (select min(t2.id) from t_repeat t2 group by t2.cid,t2.uid having count(*)>1) </div><div>) as tb )<br /><br />3銆佸瓙琛ㄥ垹闄わ細</div><div><div>-----------delete--------</div></div><div>DELETE From  t_repeat  where t_repeat.id  not in</div><div>( </div><div>   SELECT tb.id from(</div><div><span style="white-space:pre"> </span>select  a.id from t_repeat a where a.id =(</div><div><span style="white-space:pre"> </span> select   max(b.id) from t_repeat b where a.cid=b.cid and a.uid=b.uid</div><div><span style="white-space:pre"> </span>) </div><div>   )as tb</div><div>)</div><img src ="http://m.tkk7.com/17learning/aggbug/423118.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://m.tkk7.com/17learning/" target="_blank">綆″厛椋?/a> 2015-03-01 22:52 <a href="http://m.tkk7.com/17learning/archive/2015/03/01/423118.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>灝忕櫧瀛ql-鍒嗙粍緇熻sum鍜宑ount鐨勭敤娉?/title><link>http://m.tkk7.com/17learning/archive/2014/09/18/418066.html</link><dc:creator>綆″厛椋?/dc:creator><author>綆″厛椋?/author><pubDate>Thu, 18 Sep 2014 09:05:00 GMT</pubDate><guid>http://m.tkk7.com/17learning/archive/2014/09/18/418066.html</guid><wfw:comment>http://m.tkk7.com/17learning/comments/418066.html</wfw:comment><comments>http://m.tkk7.com/17learning/archive/2014/09/18/418066.html#Feedback</comments><slash:comments>4</slash:comments><wfw:commentRss>http://m.tkk7.com/17learning/comments/commentRss/418066.html</wfw:commentRss><trackback:ping>http://m.tkk7.com/17learning/services/trackbacks/418066.html</trackback:ping><description><![CDATA[濡備笅涓ゆ潯甯哥敤sql錛岀粺璁″垎綾繪暟鎹紝浣犺兘璇村嚭鍖哄埆鍚楋紵<br /><strong>涓銆佸父鐢╯ql涓錛?/strong><br />select <div>r.cid,</div><div>r.depart_id,</div><div>r.employ_id,</div><div>r.create_by,</div><div><strong style="color: red;">count</strong>(DISTINCT r.form_type) as dailyReportNum</div><div>FROM </div><div>report r</div><div>where </div><div>1=1 </div><div>GROUP BY </div><div>r.employ_id<br /><br /><strong>浜屻佸父鐢╯ql浜岋細<br /></strong><div>select </div><div>r.cid,</div><div>r.depart_id,</div><div>r.employ_id,</div><div>r.create_by,</div><div><strong style="color: red;">sum</strong>(case WHEN df.form_type=1 then 1 else 0 end ) as dailyReportNum</div><div>FROM </div><div>report r</div><div>where </div><div>1=1 </div><div>GROUP BY </div><div>r.employ_id<br /><br /><br /></div></div><img src ="http://m.tkk7.com/17learning/aggbug/418066.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://m.tkk7.com/17learning/" target="_blank">綆″厛椋?/a> 2014-09-18 17:05 <a href="http://m.tkk7.com/17learning/archive/2014/09/18/418066.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>mysql瀹炵幇鎸夌収緙栧彿鍗囧簭鎺掑簭http://m.tkk7.com/17learning/archive/2013/09/10/403896.html綆″厛椋?/dc:creator>綆″厛椋?/author>Tue, 10 Sep 2013 07:11:00 GMThttp://m.tkk7.com/17learning/archive/2013/09/10/403896.htmlhttp://m.tkk7.com/17learning/comments/403896.htmlhttp://m.tkk7.com/17learning/archive/2013/09/10/403896.html#Feedback0http://m.tkk7.com/17learning/comments/commentRss/403896.htmlhttp://m.tkk7.com/17learning/services/trackbacks/403896.htmlmysql浠g爜錛?br />select sp.singer_name as singerName,sp.fans_value as fansValue
From singer_publish sp 
where 1=1   
order by  (case  when  (sp.fans_value is null or sp.fans_value='' or sp.fans_value<1) then 1 else 0 end ),sp.fans_value; 

]]>
Mysql鏁版嵁搴撴暟鎹殑瀵煎叆涓庡鍑?/title><link>http://m.tkk7.com/17learning/archive/2013/05/19/399468.html</link><dc:creator>綆″厛椋?/dc:creator><author>綆″厛椋?/author><pubDate>Sun, 19 May 2013 05:57:00 GMT</pubDate><guid>http://m.tkk7.com/17learning/archive/2013/05/19/399468.html</guid><wfw:comment>http://m.tkk7.com/17learning/comments/399468.html</wfw:comment><comments>http://m.tkk7.com/17learning/archive/2013/05/19/399468.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://m.tkk7.com/17learning/comments/commentRss/399468.html</wfw:commentRss><trackback:ping>http://m.tkk7.com/17learning/services/trackbacks/399468.html</trackback:ping><description><![CDATA[<div><span style="font-size: 12px;">1銆?lt;鏁版嵁搴撶敤鎴?gt;</span></div><div><span style="font-size: 12px;">鏈湴鐢ㄦ埛</span></div><div><span style="font-size: 12px;">  GRANT ALL PRIVILEGES ON *.* TO 'user_name'@'localhost' IDENTIFIED BY 'password' WITH GRANT OPTION;</span></div><div><span style="font-size: 12px;">  娉細絎竴涓?涓烘暟鎹簱鍚?/span></div><div><span style="font-size: 12px;">鎵鏈夌敤鎴鳳紙鏈夌殑鐗堟湰涓嶅寘鍚湰鍦扮敤鎴鳳紝榪樻湁鍔犱笂涓婇潰涓鍚嶏級</span></div><div><span style="font-size: 12px;"> GRANT ALL PRIVILEGES ON *.* TO 'user_name'@'%' IDENTIFIED BY 'password' WITH GRANT OPTION;</span></div><div><span style="font-size: 12px;"></鏁版嵁搴撶敤鎴?gt;</span></div><div><span style="font-size: 12px;"><br />2銆?lt;鏁版嵁搴撳鍑?gt;</span></div><div><span style="font-size: 12px;">瀵煎嚭鏁版嵁緇撴瀯</span></div><div><span style="font-size: 12px;">   C:/Program Files/MySQL/MySQL Server 5.5/bin/mysqldump -uroot -proot -d tienal_admin > c:/tienal_admin.sql</span><span style="font-size: 12px;">   </span></div><div><span style="font-size: 12px;">瀵煎嚭鏁版嵁緇撴瀯涓庢暟鎹?/span></div><div><span style="font-size: 12px;">   C:/Program Files/MySQL/MySQL Server 5.5/bin/mysqldump -uroot -proot tienal_admin > c:/tienal_admin.sql</span></div><div><span style="font-size: 12px;">   </span><span style="font-size: 12px;"></鏁版嵁搴撳鍑?gt;</span></div><div><span style="font-size: 12px;"><br />3銆?lt;鏁版嵁搴撳鍏?gt;</span></div><div><span style="font-size: 12px;">浠嶮ySQL鍛戒護琛?/span></div><div><span style="font-size: 12px;">    use tienal_admin;</span></div><div><span style="font-size: 12px;">    source E:/PeaceWork/Project/澶╃眮闊充箰/鍘熷璧勬枡/tienal_admin/misc/sql.sql;</span></div><div><span style="font-size: 12px;">鐩存帴榪愯</span></div><div><span style="font-size: 12px;">銆銆銆C:/Program Files/MySQL/MySQL Server 5.5/bin/mysql -uroot -proot tienal_admin < c:/tienal_admin.sql    </span></div><div><span style="font-size: 12px;"></鏁版嵁搴撳鍏?gt;<br /><br /></span></div><img src ="http://m.tkk7.com/17learning/aggbug/399468.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://m.tkk7.com/17learning/" target="_blank">綆″厛椋?/a> 2013-05-19 13:57 <a href="http://m.tkk7.com/17learning/archive/2013/05/19/399468.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>Sql server 綰ц仈鏌ヨ Left Join鐨勫簲鐢?/title><link>http://m.tkk7.com/17learning/archive/2013/03/28/397120.html</link><dc:creator>綆″厛椋?/dc:creator><author>綆″厛椋?/author><pubDate>Thu, 28 Mar 2013 15:41:00 GMT</pubDate><guid>http://m.tkk7.com/17learning/archive/2013/03/28/397120.html</guid><wfw:comment>http://m.tkk7.com/17learning/comments/397120.html</wfw:comment><comments>http://m.tkk7.com/17learning/archive/2013/03/28/397120.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://m.tkk7.com/17learning/comments/commentRss/397120.html</wfw:commentRss><trackback:ping>http://m.tkk7.com/17learning/services/trackbacks/397120.html</trackback:ping><description><![CDATA[LEFT JOIN 鍏抽敭瀛楄娉曪細<pre style="width: 580px; margin-top: 10px; margin-bottom: 0px; padding: 10px; border: 1px dotted #778855; background-color: #f5f5f5; font-family: 'Courier New', monospace; font-size: 12px; line-height: normal;">SELECT column_name(s) <br />FROM table_name1<br />LEFT JOIN<br />table_name2 <br />ON <br />table_name1.column_name=table_name2.column_name<br /></pre><br />楂樼駭搴旂敤錛?pre style="width: 580px; margin-top: 10px; margin-bottom: 0px; padding: 10px; border: 1px dotted #778855; background-color: #f5f5f5;">SELECT <br />had.deptTypeId as deptTypeId<br />,hdt.typeName as deptTypeName<br />,had.id as deptID<br />,had.deptName as deptName<br />,isnull(sg.siteGoalPoint,0) as siteGoalPoint<br />,isnull(sg.supGoalPoint,0) as supGoalPoint<br /><div><div>from<br />--鍗曚綅<br />(select a.deptTypeId,a.id,a.deptName<br /> from HD_ACT_DEPT a <br /> where 1 = 1 <br /> and deptTypeId = 'null' <br />) as had <br />LEFT JOIN <br />--鍗曚綅綾誨瀷 <br />HD_DEPT_TYPE hdt <br />ON had.deptTypeId = hdt.id <br />LEFT JOIN <br />--浠誨姟瀹屾垚鎯呭喌緇熻琛? <br />(select a.siteGoalPoint,a.supGoalPoint,a.deptTypeId,a.deptID <br />from cms_sup_submit_goal a <br />where a.year = '2013' <br />) as sg <br />on had.deptTypeId = sg.deptTypeId and had.id = sg.deptID <br />ORDER BY had.deptTypeId, had.id</div></div></pre><div></div><div>澶氳〃鏌ヨ錛?/div><div>select s.id,s.name,s.sname from </div><div>singer s, tb_su su</div><div>where s.id=su.sid  and  su.userid='1'</div><img src ="http://m.tkk7.com/17learning/aggbug/397120.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://m.tkk7.com/17learning/" target="_blank">綆″厛椋?/a> 2013-03-28 23:41 <a href="http://m.tkk7.com/17learning/archive/2013/03/28/397120.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item></channel></rss> <footer> <div class="friendship-link"> <p>感谢您访问我们的网站,您可能还对以下资源感兴趣:</p> <a href="http://m.tkk7.com/" title="亚洲av成人片在线观看">亚洲av成人片在线观看</a> <div class="friend-links"> </div> </div> </footer> 主站蜘蛛池模板: <a href="http://kppp4.com" target="_blank">久久精品中文字幕免费</a>| <a href="http://jinguwj.com" target="_blank">亚洲人成色777777老人头</a>| <a href="http://81am.com" target="_blank">中文字幕不卡免费高清视频</a>| <a href="http://benjiebf.com" target="_blank">成在线人永久免费视频播放</a>| <a href="http://qiseka.com" target="_blank">亚洲中文字幕无码av永久</a>| <a href="http://ssdtsz.com" target="_blank">最近中文字幕无吗高清免费视频</a>| <a href="http://haodiaose35pao.com" target="_blank">亚洲高清日韩精品第一区</a>| <a href="http://pecbj.com" target="_blank">4虎永免费最新永久免费地址</a>| <a href="http://socgl.com" target="_blank">亚洲神级电影国语版</a>| <a href="http://sdsupuchem.com" target="_blank">91免费播放人人爽人人快乐</a>| <a href="http://chaoxung.com" target="_blank">亚洲成a人片在线观看播放</a>| <a href="http://cc88899.com" target="_blank">91手机看片国产永久免费</a>| <a href="http://www398ph.com" target="_blank">亚洲人精品亚洲人成在线</a>| <a href="http://www66susu.com" target="_blank">成人午夜大片免费7777</a>| <a href="http://445848.com" target="_blank">亚洲无人区码一二三码区别图片 </a>| <a href="http://yamashida.com" target="_blank">国产日韩在线视频免费播放</a>| <a href="http://yqstickers.com" target="_blank">亚洲精品国精品久久99热 </a>| <a href="http://50077995.com" target="_blank">中文字幕不卡免费高清视频</a>| <a href="http://www137av.com" target="_blank">亚洲中文字幕无码一区</a>| <a href="http://sflhb.com" target="_blank">人妻无码久久一区二区三区免费</a>| <a href="http://shadaiym.com" target="_blank">亚洲国产美国国产综合一区二区</a>| <a href="http://w6626.com" target="_blank">亚洲国产精品第一区二区三区</a>| <a href="http://djyvp32.com" target="_blank">亚洲国产精品无码中文lv</a>| <a href="http://583s.com" target="_blank">亚洲电影日韩精品</a>| <a href="http://huahui1866.com" target="_blank">a级毛片毛片免费观看久潮</a>| <a href="http://yhanalati.com" target="_blank">亚洲国产二区三区久久</a>| <a href="http://bjlfggcm.com" target="_blank">亚洲一区免费在线观看</a>| <a href="http://www5xsq.com" target="_blank">国产亚洲精品VA片在线播放</a>| <a href="http://s4lm0x.com" target="_blank">亚洲不卡AV影片在线播放</a>| <a href="http://123470c.com" target="_blank">国产免费拔擦拔擦8X高清在线人</a>| <a href="http://pjszlw.com" target="_blank">99ri精品国产亚洲</a>| <a href="http://9hao66.com" target="_blank">日韩免费观看视频</a>| <a href="http://xacfdq.com" target="_blank">精选影视免费在线 </a>| <a href="http://tzkanglong.com" target="_blank">亚洲天堂一区二区</a>| <a href="http://516kd.com" target="_blank">暖暖免费高清日本一区二区三区</a>| <a href="http://yijiazhiwei.com" target="_blank">国产福利电影一区二区三区,免费久久久久久久精 </a>| <a href="http://513109.com" target="_blank">57PAO成人国产永久免费视频</a>| <a href="http://www045888.com" target="_blank">亚洲精品无码专区</a>| <a href="http://0359jgyy.com" target="_blank">久久亚洲国产精品123区</a>| <a href="http://jaubus.com" target="_blank">久久99国产乱子伦精品免费</a>| <a href="http://anyliz.com" target="_blank">亚洲精品无码专区在线播放</a>| <script> (function(){ var bp = document.createElement('script'); var curProtocol = window.location.protocol.split(':')[0]; if (curProtocol === 'https') { bp.src = 'https://zz.bdstatic.com/linksubmit/push.js'; } else { bp.src = 'http://push.zhanzhang.baidu.com/push.js'; } var s = document.getElementsByTagName("script")[0]; s.parentNode.insertBefore(bp, s); })(); </script> </body>