码迷,mamicode.com
首页 >  
搜索关键字:row    ( 12323个结果
倒立三角打印
packagecom.dao; publicclasssanjiao{ publicstaticvoidmain(String[]args){ inti=0; intj=0; introw=10;//行数 intcol=10;//列数 while(true){ if(i>row&&j>col){ break;//超出边界跳出 } if(i<row&&j>col){//如果列超..
分类:其他好文   时间:2016-06-22 15:57:34    阅读次数:205
VB非常见知识总结
1、VB.Net设置Excel中单元格字体 sheet.Range(sheet.Cells(row, stp), sheet.Cells(row, stp)).Font.Name = "Wingdings 2" 设置行row,列stp 的字体样式为[Wingdings 2] 2、Wingdings ...
分类:其他好文   时间:2016-06-22 09:12:40    阅读次数:160
Kth Smallest Number in Sorted Matrix
Find the kth smallest number in at row and column sorted matrix. Given k = 4 and a matrix: [ [1 ,5 ,7], [3 ,7 ,8], [4 ,8 ,9], ] return 5 这一题是Kth Large ...
分类:其他好文   时间:2016-06-21 17:07:38    阅读次数:327
触发器--mysql
SHOW TRIGGERS;查看所有触发器 create trigger tg1 after insert on user for each row beginupdate user set name='test' where id=1;end insert into user(name,pass) ...
分类:数据库   时间:2016-06-20 23:52:16    阅读次数:178
binlog的一些问题
1、$mysqlbinlogmysql-bin.000559>bin000559.sqlmysqlbinlog:unknownvariable‘default-character-set=utf8‘解决方法:加--no-defaults参数后可以解决mysqlbinlog--no-defaultsmysql-bin.000559|less2、因为binlog日志格式是ROW,查看row模式二进制日志的sql格式命令如下mysq..
分类:其他好文   时间:2016-06-20 19:08:58    阅读次数:275
MySQL常规优化
MySQL优化--何旭东MySQL使用内存引擎的特点Comment:Supportstransactions,row-levellocking,andforeignkeysSupportstransactions:事务row-levellocking:行锁foreignkeys:外键。Transactions:表示是否支持事务处理,YES表示支持,NO表示不支持。XA:表示是否分布式交易处理XA..
分类:数据库   时间:2016-06-20 19:07:18    阅读次数:251
一次难忘的在线大表表结构修改
背景介绍: 服务器 252GMem 40CPU SSD盘 小编所使用的mysql版本是5.6.25 mysql> select count(*) from CISXX_DATA_XXX;+ +| count(*) |+ +| 110908162 |+ +1 row in set (1 min 27. ...
分类:其他好文   时间:2016-06-20 18:32:08    阅读次数:155
Bootstrap简易使用指南
1.框架 1.框架 1.1全局样式 使用HTML5的doctype,scaffolding.less中定义全局样式,从2开始使用normalize.css,并使用reset.less进行简化 1.2默认栅格系统 940px宽12列栅格,使用row与span[NUM]的class来控制,使用offse ...
分类:其他好文   时间:2016-06-20 00:20:23    阅读次数:304
MySQL中select * for update锁表的问题(转)
由于InnoDB预设是Row-Level Lock,所以只有「明确」的指定主键,MySQL才会执行Row lock (只锁住被选取的资料例) ,否则MySQL将会执行Table Lock (将整个资料表单给锁住)。 举个例子: 假设有个表单products ,里面有id跟name二个栏位,id是主键 ...
分类:数据库   时间:2016-06-19 01:16:54    阅读次数:234
bzoj 3831: [Poi2014]Little Bird
3831: [Poi2014]Little Bird Description In the Byteotian Line Forest there are trees in a row. On top of the first one, there is a little bird who woul ...
分类:其他好文   时间:2016-06-18 19:51:17    阅读次数:216
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!