query("SELECT xp_wztj.time,xp_wztj.bt,xp_wztj.id,xp_wzfl.name FROM xp_wztj, xp_wzfl WHERE xp_wztj.uid = xp_wzfl.id "); $this->assign('div',...
分类:
数据库 时间:
2014-11-19 07:20:04
阅读次数:
231
Given a sorted linked list, delete all nodes that have duplicate numbers, leaving onlydistinctnumbers from the original list.For example,Given1->2->3-...
分类:
其他好文 时间:
2014-11-19 07:18:17
阅读次数:
236
public int[] updateBatchByjdbc(final List<String[]> ids) { ?? ??? ?int[] updateCounts = this.getJdbcTemplate().batchUpdate( ?? ??? ??? ??? ?"update CS_ORDER set AUDIT_STATUS=? whe...
分类:
数据库 时间:
2014-11-19 02:25:02
阅读次数:
182
我书里的那个命令是针对ROW格式的,下面增加一个MIXED格式的。mysqlbinlog--no-defaults--base64-output=decode-rows-vvmysql-bin.004177|
awk‘/UPDATE|INSERT|DELETE/{gsub("###","");gsub("INSERT.*INTO","INSERT");
gsub("DELETE.*FROM","DELETE");
count[$1""$2]++}END{for..
分类:
其他好文 时间:
2014-11-19 02:20:16
阅读次数:
216
方法一:在线安装
1.打开HELP->MyEclipse Configuration
Center。切换到SoftWare标签页。
2.点击Add Site 打开对话框,在对话框Name输入Svn,URL中输入:http://subclipse.tigris.org/update_1.6.x
3.在左边栏中找到Personal Site中找到SVN展开。将Core...
分类:
系统相关 时间:
2014-11-19 01:55:10
阅读次数:
258
经常出现一个问题,oracle的某张表突然无法更新了,无论是通过pl/sql Developer 还是通过sqlplus都无法更新,执行update语句或者执行select * from table_name for update 都一样,一直处于执行状态,无法完成,这时候我就猜想是不是session被锁死了呢?带着这个问题,我们写一条SQL语句:
--锁表查询SQLSELECT obj...
分类:
数据库 时间:
2014-11-19 01:13:58
阅读次数:
232
nginx出于性能考虑采用类似lib_event的方式,自己对时间进行了cache,用来减少对gettimeofday()的调用,因为一般来说服务器对时间的精度要求不是特别的高,不过如果需要比较精确的timer,nginx还提供了一个timer_resolution指令用来设置时间精度,具体的机制再后面会做介绍。在ngx_times.c中提供了ngx_time_update()函数来更新时间缓存,...
分类:
其他好文 时间:
2014-11-19 01:09:26
阅读次数:
152
Http定义了与服务器交互的不同方法,最基本的方法有4种,分别是GET,POST,PUT,DELETE。URL全称是资源描述符,我们可以这样认为:一个URL地址,它用于描述一个网络上的资源,而HTTP中的GET,POST,PUT,DELETE就对应着对这个资源的查,改,增,删4个操作。到这里,大家应...
分类:
Web程序 时间:
2014-11-19 00:19:02
阅读次数:
206
要封停一个IP,使用下面这条命令:iptables -I INPUT -s ***.***.***.*** -j DROP要解封一个IP,使用下面这条命令:iptables -D INPUT -s ***.***.***.*** -j DROP参数-I是表示Insert(添加),-D表示Delete...
分类:
其他好文 时间:
2014-11-19 00:18:22
阅读次数:
218
Implement strStr().Returns the index of the first occurrence of needle in haystack, or -1 if needle is not part of haystack.Update (2014-11-02):The si...
分类:
其他好文 时间:
2014-11-18 23:34:46
阅读次数:
180