if totalmoney is null then
解决方案 »
- tnsnames.ora文件指向问题
- oracle中clob与分组的冲突
- oracle中创建视图force的作用是什么?
- 关于oracle的问题!在线等 急呀!
- [求助]登陆管理服务器问题(9i)
- 弱弱的问题
- 用Sqlldr向ORACLE导入ACCESS数据库发生错误:SQL*Loder-704,ORA-12560
- ocijdbc8.dll 那儿可以找到下载。。。?+++在线等等
- Oracle触发器监听一个表,同时针对这个表的一个或两个字段的内容做修改
- 在Oracle中能否只建一用户、建多个表空间呢
- ORACLE的SQL PLUS连接DB时, 出现 ORA-06553 错误,救急,救急,救急,救急,救急,
- 关于9I CLIENT 访问 8I时, EXP遇到的问题
if sqlca.sqlcode = 100 then
insert into maps_check values(dlbh,'0',trademoney,wdh,wdmc,zhh,gyh);
end if
create procedure pro
as
num number;
totalmoney maps_mainsum.amount2%type;
begin
select amount2,1 into totalmoney,num from maps_mainsum a where ltrim(tellerno)=ltrim(gyh);
if num is null then
insert into maps_check values(dlbh,'0',trademoney,wdh,wdmc,zhh,gyh);
end if;
end;
/