Oracel数据库
kobemoon
这个作者很懒,什么都没留下…
展开
-
Oracle where in 超过1000条的解决方法思路
1.使用or操作符 select * from a where a.no = '' or a.no = '' or a.no = '' or a.no = '' or ........ a.no = ''; 2.使用临时表 1)create table b (no number); 2)把数据导入到b表中 3)selec...2011-11-09 10:58:03 · 479 阅读 · 0 评论 -
Oracle 联合主键查询数据问题
[b]serviceaction 主键(orderno,actionno)[/b]其它表主键就是一个。 [code="java"]select sp.orderno,sp.deptno,sp.zb_ordertime, sp.consumer,sp.computertypeno,sp.servicetype, sp.computerid,sp.product_co...原创 2011-11-25 15:00:05 · 1002 阅读 · 0 评论