EXCEL使用了多少行:ActiveSheet.UsedRange.Rows.Count(再也不用循环到头啦)创建线条并命名:ActiveSheet.Shapes.AddLine(x1,y1,x2,y2).name="Line"&CSTR(i)E.G.Private Sub ClearPreviou...
分类:
编程语言 时间:
2015-07-23 19:38:23
阅读次数:
213
11、查询oracle的连接数2select count(*) from v$session;32、查询oracle的并发连接数4select count(*) from v$session where status='ACTIVE';53、查看不同用户的连接数6select username,co...
分类:
数据库 时间:
2015-07-23 19:23:17
阅读次数:
152
Count the stringTime Limit: 2000/1000 MS (Java/Others)Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 6062Accepted Submission(s): 2810Pr...
分类:
编程语言 时间:
2015-07-23 17:20:52
阅读次数:
115
mysql处理字符串的两个绝招:substring_index,concat 最近老是碰到要处理数据库中字符串的处理,发现用来用去也就是这两个函数: 1、substring_index(str,delim,count) str:要处理的字符串 delim:分隔符 count:计数 ...
分类:
数据库 时间:
2015-07-23 17:17:39
阅读次数:
138
Given acompletebinary tree, count the number of nodes.Definition of a complete binary tree fromWikipedia:In a complete binary tree every level, except...
分类:
其他好文 时间:
2015-07-23 13:42:41
阅读次数:
86
Given an integer n, count the total number of digit 1 appearing in all non-negative integers less than or equal to n.For example:Given n = 13,Return 6...
分类:
其他好文 时间:
2015-07-23 13:38:27
阅读次数:
102
第一次测试执行下面的语句时发生如下错误:bigdata里面有100万条数据mysql> select count(*) from (select distinct(id) from bigdata) as total;ERROR 1317 (70100): Query execution was i...
分类:
数据库 时间:
2015-07-23 13:32:04
阅读次数:
138
FarPoint.Win.Spread.FpSpread fSpread = new FarPoint.Win.Spread.FpSpread();
//设置 行数、列数
fSpread.ActiveSheet.Rows.Count = 90;
fSpread.ActiveSheet.Columns.Count = 10...
1.生成器函数是否可以带参数呢? 可以,生成器函数支持所有的参数形式,因为生成器函是函数的一种 der?count(start=0):
while?True:
yield?start
start++ #指定从0开始的计数器 2.生成器函数是否可以用return输...
分类:
编程语言 时间:
2015-07-23 08:18:02
阅读次数:
172
1.情景再现假如一条sql语句中:select count(t.*), t.id, t.namefrom merchant t其中count函数也可以使用类似的sum或者是一些求数值相关的函数,执行的时候会报ORA-00397错误。2.解决方案需要在语句的结束部分加上分组函数 group by .....
分类:
数据库 时间:
2015-07-23 00:13:19
阅读次数:
351