用过Oracle的应该都熟悉如何查看和设置Oracle数据库的最大连接数。这里就再啰嗦一遍。查看当前的连接数,可以用select count(*) from
v$process;设置的最大连接数(默认值为150)select value from v$parameter where name = ‘...
分类:
数据库 时间:
2014-05-08 17:41:53
阅读次数:
397
数据库在通过连接两张或多张表来返回记录时,都会生成一张中间的临时表,然后再将这张临时表返回给用户。在使用left
jion时,on和where条件的区别如下:1、on条件是在生成临时表时使用的条件,它不管on中的条件是否为真,都会返回左边表中的记录。2where条件是在临时表生成好后,再对临时表进行...
分类:
其他好文 时间:
2014-05-08 17:37:34
阅读次数:
320
SELECT
*
FROM
(
SELECT
PROJECT_LISTING.MATERIAL,
COUNT (*) AS "出现次数"
FROM
PROJECT_LISTING
WHERE
PROJECT_LISTING.MATERIAL IS NOT NULL
GROUP BY
PROJECT_LISTING.MATERIAL
ORDER ...
分类:
数据库 时间:
2014-05-08 17:30:41
阅读次数:
484
1需求:
点击下面不同的item,会改变上面select旁边的图标,如何实现?
2 解决办法:
改变应用的logo
3 具体步骤:
3.1 监听左边这个litview的item点击事件(注,这些items 是放在一个listview中的,所以你可以自定义他的显示样式)
3.2 在点检事件触发的时候,replace进入响应的fragment到 frameLayout
3.3 同时改变l...
分类:
其他好文 时间:
2014-05-08 17:19:04
阅读次数:
324
Legal or Not
Problem Description
ACM-DIY is a large QQ group where many excellent acmers get together. It is so harmonious that just like a big family. Every day,many "holy cows" like HH, ...
分类:
其他好文 时间:
2014-05-08 11:11:28
阅读次数:
339
Given a sorted array and a target value, return
the index if the target is found. If not, return the index where it would be if
it were inserted in or...
分类:
其他好文 时间:
2014-05-08 07:29:02
阅读次数:
285
hive 中的union all是不能在sql语句的第一层使用的,否则会报Top level
UNION is not supported currently 错误;例如如下的方式:select id,name from user where type
= 1union allselect id,n...
分类:
其他好文 时间:
2014-05-08 07:17:42
阅读次数:
420
连接查询值得注意的是:字段前必须加表名,以便混淆1 -- 多表连接查询和子查询2 select
* from dbo.stu_info ,dbo.sname23 -- 加连接规则的查询 where4 sele...
分类:
数据库 时间:
2014-05-08 06:34:30
阅读次数:
795
每次操作select都要查资料,干脆总结一下。为select设置placeholder为Select添加事件,当选择其中一项时触发$("#select_id").change(function(){
//code...});jQuery获取Select选择的Text和Value:var che...
分类:
Web程序 时间:
2014-05-08 05:48:25
阅读次数:
509
玩了一段时间zabbix,对他的数据库有点研究,在这里分享下添加一个监控的过程,希望能帮到路过的朋友。添加一个监控项目(不包括添加模板)涉及到几个表,分别是:ids,hosts,applications,groups,hosts_groups,interface,items,items_applications,如果还需要添加触发器的话还..
分类:
数据库 时间:
2014-05-08 02:32:26
阅读次数:
1060