
SQL
KeyRainie
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
Oracle高效率SQL分页,含Informix分页
下面试Oracle的分页,效率比传统的分页高,但是存在的缺点是,当查询最后一页时,效率跟传统的分页效率时一样的。select * from (select rownum rn, a.* from (select int_id from cell) a where rownum where rn >= (页数+1)Informix的分页使用:select skip m fir原创 2012-08-08 17:04:29 · 1653 阅读 · 1 评论 -
OleDB简单用例
OleDbConnection connection = new OleDbConnection("Provider=Ifxoledbc.2;User ID=informix;Password=informix;Data Source=niosdb@niosserver34;Persist Security Info=true;"); string sql = "原创 2012-08-10 16:46:02 · 884 阅读 · 0 评论 -
IfxDb简单用例
IfxConnection connection = new IfxConnection("Database=niosdb;Host=192.168.8.56;Server=niosserver34;Service=8001; UID=informix;Password=informix;"); string sql = "insert into tap_so_V原创 2012-08-10 17:19:46 · 828 阅读 · 0 评论 -
查询表中重复的数据SQL
select longitude,latitude from cell group by longitude,latitude having count(*)>1原创 2012-08-02 11:52:15 · 823 阅读 · 0 评论