本月博客排行
-
第1名
青否云后端云 -
第2名
vipbooks -
第3名
e_e - kingwell.leng
- lemonhandsome
- silverend
- jveqi
- xiangjie88
- tanling8334
年度博客排行
-
第1名
青否云后端云 -
第2名
zw7534313 -
第3名
大家都说我很棒 - liyihz2008
- wy_19921005
- gengyun12
- hbxflihua
- e_e
- luxurioust
- dbagirl
- zysnba
- robotmen
- Alsmile
- gaozzsoft
- jywhltj
- cpongo1
- leslie26
- qepwqnp
- 解宜然
- zhangdaiscott
- cuityang
- sichunli_030
- gashero
- fantaxy025025
- gdpglc
- vipbooks
- ssydxa219
- wallimn
- ranbuijj
- 淡看人生
- javashop
- hanbaohong
- jickcai
- johnsmith9th
- appalese
- gaojingsong
- weiyides
- zhangyi0618
- java-007
- AVI
- laiyangdeli
- xpenxpen
- liunancun
- 龙哥IT
- conkeyn
- nychen2000
- lyndon.lin
- ouanui
- silverend
- jveqi
最新文章列表
Sql server(TOP) oracle(rownum) MySQL(limit)
Sql server:
--前10行
select top 10 * from table
--31到40行,这里ID是主键,必须得有主键,才能使用这种方法分页
select top 10* from table where(id not in(select top 30 id from table order by id))order by id
oracle:
--前10行
s ...
数据库的查询优化技术
最近在进行优化,自己没有多大头绪,找到一份合心意的文章,该大家分享:
1.合理使用索引
索引是数据库中重要的数据结构,它的根本目的就是为了提高查询效率。现在大多数的数据库产品都采用IBM最先提出的ISAM索引结构。索引的使用要恰到好处,其使用原则如下:
●在经常进行连接,但是没有指定为外键的列上建立索引,而不经常连接的字段则由优化器自动生成索引。
●在频繁进行排序或分组(即 ...
eos5.3调用逻辑查询排序问题
eos5.3查询排序总结:
BL_queryEntity***和BL_queryEntity***Ext(分页)
BL_queryEntity***Ext:
在查询条件里设置:
<root>
<data>
<CT_ATTRIB_INFO>
<_order>
<col ...