--查询行号select row_number()over(order by CHECKTIME )as RowNum,*from CHECKINOUT--更新id列为行号update CHECKINOUT set id=t.rowId from (select CHECKTIME, ROW_NUM...
分类:
数据库 时间:
2015-01-15 15:36:58
阅读次数:
156
1、在导入数据前执行以下命令即可:set SESSION sql_mode='';通过设置sql_mode变量更改模式。linux下安装完mysql后,默认的sql-mode值是空,在这种情形下mysql执行的是一种不严格的检查,例如日期字段可以插入’0000-00-00 00:00:00’这样的值...
分类:
其他好文 时间:
2015-01-15 12:34:58
阅读次数:
210
jquery;var table1 = $('#table1'); var row = $(""); var td1 = $(""); td1.append($("收费结算单位") ); var td2 = $(""); td2...
分类:
其他好文 时间:
2015-01-15 00:12:52
阅读次数:
196
Given an index k, return the kth row of the Pascal's triangle.
For example, given k = 3,
Return [1,3,3,1].
Note:
Could you optimize your algorithm to use only O(k) extra space?
class Solution...
分类:
其他好文 时间:
2015-01-14 22:57:33
阅读次数:
162
Given a triangle, find the minimum path sum from top to bottom. Each step you may move to adjacent numbers on the row below.
For example, given the following triangle
[
[2],
[3,4],
[...
分类:
其他好文 时间:
2015-01-14 22:53:47
阅读次数:
153
package com.bailin.framework.util.excel;import java.util.ArrayList;import java.util.List;/** * 行 * * @author cj * */ public class Row {private List co...
分类:
其他好文 时间:
2015-01-14 19:36:01
阅读次数:
339
收到报警,mysql的从数据库在同步的过程出现问题,已停止同步。mysql>showslavestatus\G***************************1.row***************************Slave_IO_State:WaitingformastertosendeventMaster_Host:192.168.199.50Master_User:replicationMaster_Port:3306Connec..
分类:
数据库 时间:
2015-01-14 18:21:04
阅读次数:
340
Oracle为DML操作自动获取行锁和表锁,操作的类型决定了锁的行为,下面对DML操作锁的情况作了一个汇总:
SQL Statement
Row Locks
Table Lock Mode
RS
RX
S
SRX
X
SELECT ... FROM table...
——
none
Y
Y
Y
Y
Y
INSERT INTO...
分类:
数据库 时间:
2015-01-14 16:52:36
阅读次数:
143
题目: 采用递归计算过程计算出帕斯卡三角形的各个元素。row:0 11 1 12 1 2 13 1 3 3 14 1 4 6 4 15 . . . . . .col: 0 1 2 3 4//c++//递归#includeusing namespace std;int pascaler(int row...
分类:
编程语言 时间:
2015-01-14 14:10:10
阅读次数:
177
ORACLE中用rownum分页并排序的SQL语句 以前分页习惯用这样的SQL语句: select * from (select t.*,rownum row_num from mytable t order by t.id) b where b.row_num between 1 and 10 结...
分类:
数据库 时间:
2015-01-13 15:37:16
阅读次数:
168