刚才是我没提交,但是插入1000到2000行数据时,我写的条件是where rownum >= 1000 and rownum < 2000,怎么提示 0 rows inserted?
解决方案 »
- oracle 在insert into的时候报ORA-00928: missing SELECT keyword错
- 俩个字段都不重复的行数,怎么查??
- 请问高手:to_number to_char 用法?
- Orcale 9i下odbc配置问题???急在先线等!!!!!!!!!!!
- oracle导入Excle表时出现"正在导入时错误"
- 出来了,不在做开发了,现在在做ORACLE销售,需要大家帮忙啊,来者有分
- 快照问题,不能刷新。
- oracle 能和SYBASE一样返回记录集吗?
- 求助ora-01652错误
- 请教一下下面的The是啥意思?
- 在PL/SQL中是否不能使用shutdown和startup等命令吗?
- 插入一条记录问题?
例如
select * from emp where rownum<5;你的句子中where rownum>=1000是不对的
select f1,f2,f3,sysdate,'0' from A where rownum <1000
and not exists(select * from B where b.主键=a.主键)
select f1,f2,f3,sysdate,'0' from B where rownum <1000看一下B表中的对应的字段的类型是否全部和A表中的类型一致. 直接用rownum<1000只能插入前999条数据.要全部插入,用游标.