SQL> select count(*) from v$session #当前的连接数SQL> Select count(*) from v$session where status='ACTIVE' #并发连接数SQL> select value from v$parameter where na...
分类:
数据库 时间:
2014-09-19 15:17:35
阅读次数:
317
TCP/IP 工具Ping在网络中Ping 是一个十分好用的TCP/IP工具。它主要的功能是用来检测网络的连通情况和分析网络速度。C:\Users\gechong>ping /?用法: ping [-t] [-a] [-n count] [-l size] [-f] [-i TTL] [-v TOS...
分类:
其他好文 时间:
2014-09-19 15:12:05
阅读次数:
208
#include int main(void){ char c ; c =getchar(); int totalCount=c -'a'; for (int count=0; countcount ; i--) { printf("%c",' '); } for...
分类:
其他好文 时间:
2014-09-18 23:32:24
阅读次数:
154
1 char t; 2 t = getchar(); 3 int count = t - 96; 4 if(t >= 97 && t <= 122) 5 { 6 int charNum = count;...
分类:
其他好文 时间:
2014-09-18 22:09:54
阅读次数:
181
1、不要硬编string/ numeric,可以使用一些常量代替。(提高可读性)intCount;Count=100;privatestaticconstintZERO=0;if(Count==ZERO){//执行一些操作}2、对于字符串比较-使用String. Empty ,而不是""。3、不要声...
分类:
Web程序 时间:
2014-09-18 20:26:34
阅读次数:
191
波达计数法(Borda Count)是较为简单的排序投票法,每个选项借由选票上的排序来取得积分,积分最高者获胜。另一个类似的方法则是位置投票制。投票人按喜好排列候选者。如果候选者在选票的排第一位,它就得某个分数;排第二位得一个较小的分数……如此类推。分数累计下来最高分的候选者便取胜。名字的由来:历史...
分类:
其他好文 时间:
2014-09-18 18:48:54
阅读次数:
157
web_reg_save_param,将Ord参数值设定为ALL,则关联函数将自动把符合条件的关联值保存到参数数组里。在本例中,假设关联值返回三条记录,则LR分别将值保存到sor_1,sor_2,sor_3中,同时,LR还将自动创建一个sor_count变量来保存总的记录数,在这里sor_count...
分类:
其他好文 时间:
2014-09-18 16:26:44
阅读次数:
204
程序VB。net:Module Module1 Sub Main() Console.WriteLine(DateTime.Now.ToLongTimeString()) Dim count As Long = 0 For a1 As Integer ...
分类:
其他好文 时间:
2014-09-18 16:24:54
阅读次数:
154
SELECT r.industry_1,r.industry_2,r.agent_id,r.agent_name,COUNT(DISTINCT r.customer_name_a)数据总量,COUNT(DISTINCT CASE WHEN r.ifhs='Y' THEN r.customer_nam...
分类:
数据库 时间:
2014-09-18 12:52:53
阅读次数:
258
header('Content-type:text/html;charset=utf-8');function cutstr($str){ #计算$str的字符个数 preg_match_all("/./u", $str, $len); $strlen = (int) count(...
分类:
其他好文 时间:
2014-09-18 12:51:33
阅读次数:
177