通过MySQL命令行修改:mysql> set character_set_client=utf8;Query OK, 0 rows affected (0.00 sec)mysql> set character_set_connection=utf8;Query OK, 0 rows affect...
分类:
数据库 时间:
2014-07-27 23:24:09
阅读次数:
336
Given a matrix of m x n elements (m rows, n columns), return all elements of the matrix in spiral order.For example, Given the following matrix:[ [ 1,...
分类:
其他好文 时间:
2014-07-27 10:16:02
阅读次数:
135
我们都知道,在MySQL中,可以使用mysqladmin命令的extended-status选项来查看MySQL的运行状态,比如获取我们常常关注的几个值:
# mysqladmin -uroot -proot ext |grep "Questions\|Queries\|Innodb_rows\|Com_select \|Com_insert \|Com_update \|Com_delete...
分类:
数据库 时间:
2014-07-26 17:16:12
阅读次数:
385
v$undostat视图没有按照每10分钟进行更新,v$undostat只有1行(one rows)...
分类:
其他好文 时间:
2014-07-26 01:59:56
阅读次数:
193
1.隐藏最上面的GroupPanel gridView1.OptionsView.ShowGroupPanel=false;2.得到当前选定记录某字段的值 sValue=Table.Rows[gridView1.FocusedRowHandle][FieldName].ToString();3.数据...
分类:
其他好文 时间:
2014-07-24 22:48:03
阅读次数:
205
原创:如何实现在Excel通过循环语句设置指定行的格式一、需求:想让excel的某些行(比如3的倍数的行)字体变成5号字 如何整;二、实现:Sub code()For i = 1 To Range("A65536").End(xlUp).Row Rows(3 * i & ":" & 3 * i...
分类:
其他好文 时间:
2014-07-24 17:15:05
阅读次数:
247
升级hive0.13之后发现job运行完成后Rowsloaded的信息没有了。rowsloaded的信息在hive0.11中由HiveHistory类的printRowCount输出。HiveHistory类的主要用途是记录job运行的信息,包括task的counter等。默认的目录在/tmp/$user中。hive0.11在SessionState的start方法中会初始化Hi..
分类:
其他好文 时间:
2014-07-24 10:49:05
阅读次数:
204
ZigZag ConversionThe string"PAYPALISHIRING"is written in a zigzag pattern on a given number of rows like this: (you may want to display this pattern i...
分类:
其他好文 时间:
2014-07-24 09:51:13
阅读次数:
244
SELECT partition_name part, partition_expression expr, partition_description descr, table_rows FROM INFORMATION_SCHEMA.partitions WHERE...
分类:
数据库 时间:
2014-07-23 20:20:55
阅读次数:
258
250-point problemProblem StatementJanusz is learning how to play chess. He is using the standard chessboard with 8 rows and 8 columns. Both the rows a...
分类:
其他好文 时间:
2014-07-22 23:21:17
阅读次数:
348