update collection c set c.biblio_id=(select b.id from biblio b where b.school_id=933 and b.bookrecno=c. bookrecno and rownum=1) where exists
(select 1 from biblio b where b.school_id=933 and b.bookrecno=c. bookrecno) and c.school_id=933 and c.id <=2495991 and biblio_id = 1这里更新条件中的 bookrecno用 number(10) 和 varchar(255)
是不是用number(10)的会更新的更快)
(select 1 from biblio b where b.school_id=933 and b.bookrecno=c. bookrecno) and c.school_id=933 and c.id <=2495991 and biblio_id = 1这里更新条件中的 bookrecno用 number(10) 和 varchar(255)
是不是用number(10)的会更新的更快)
解决方案 »
- 存储过程小问题(来看看)
- oracle dblink问题 请高手指点 急!!!!
- ORA-01756插入中文时报这个错误
- 有什么好工具,能方便可视化,查询、增加、删除Oracle 数据、并能方便地生成Oracle 存储过程、函数、sql语句???
- 南北软件面试题目。。。。。。。。。。谁能做出来?
- 这么简单的函数也出错。就1行代码啊。
- 求一SQL问题解决100
- 请问如何才能从otn.oracle.com下载运9i ,是免费的吗?
- 把上次帖子结了继续问我做的一个函数的问题,错在哪里?
- Oracle日期字段建了索引,排序时却没走索引
- oracle11g r2 sys和system无法远程连接数据库
- 问2个oracle小问题
所以使用number类型会更好