写个过程,使用UTL_FILE包从文本文件中取数据,然后按你的要求判断条件就是了
解决方案 »
- 可以帮我看看 create context nscubp_context_sjpt using sjpt.urrp_login; 是什么意思吗
- oracle 备份文件
- Oracle中用条件关键字in查询时出错
- oracle 触发器的问题
- occi createConnection 调用异常
- orecle select function 不是group by 表达式
- sqlplus问题
- 日期型字段如何在Delphi中用insert语句中赋值?
- 绝对送分,异常简单!
- Oracle8i(8.1.7)在Linux下的安装问题,急!!!
- OCCI有for c++ Builder的LIB吗?注意不是OCI
- 我的机子上装了oracle8.05 现在装8.1.6 现在怎么把8.05卸载掉
begin
select username into tmp from tbltemp where username=newUSERNAME;
exception
when no_data_found then
insert into tbltemp values (newUSERNAME,newDESTROYTIME,newWRITETIME);
end;
begin
select username into tmp from tbltemp where username=newUSERNAME;
update tbltemp set DESTROYTIME=newDESTROYTIME,WRITETIME=newWRITETIME where username=newUSERNAME;
exception
when no_data_found then
insert into tbltemp values (newUSERNAME,newDESTROYTIME,newWRITETIME);
end;