摘要:
怎样查看oracle当前的连接数呢?只需要用下面的SQL语句查询一下就可以了。select * from v$session where username is not nullselect username,count(username) from v$session where username is not null group by username #查看不同用户的连接数 select count(*) from v$session #连接数Select count(*) from v$session where status='ACTIVE' #并发连接数show 阅读全文
摘要:
CRgn(HRGN) SetWindowRgn setRgn{ CRgn rgnRect; CRgn rgnHole; //获取窗口大小 CRect rcWnd; GetWindowRect(&rcWnd); //创建区域 rgnRect.CreatRectRgn(0,22, rcWnd.Width(),rWnd.Height()); rgnHole.CreateEllipticRgn(50, 50, 100, 100); //区域运算 rgnRect.CombineRgn(&rgnRect, &rgnHole, RGN_XOR); SetWindowRgn(rgnRe 阅读全文