流程控制 批处理
来源:互联网 发布:nvidia游戏优化怎么样 编辑:程序博客网 时间:2024/06/05 15:44
declare numss number;
begin
select count(*) into numss from tcaudit t where t.entid='"+c.getEntId()+"' ;
if(numss=0) then insert into tcaudit(entId,isAudit) values('"+c.getEntId()+"','1'); 首先查看是否存在该记录,不存在则新增一条
elsif('"+c.getisAudit()+"'=0) then update tcaudit set isAudit=1 where entId='"+c.getEntId()+"'; 根据条件来更新
elsif('"+c.getisAudit()+"'=1) then update tcaudit set isAudit=0 where entId='"+c.getEntId()+"';
end if;
end;
- 流程控制 批处理
- 一天一篇批处理之——Part4:流程控制及调用命令goto,call,start
- 控制流程
- 控制流程
- 流程控制
- 流程控制
- 流程控制
- 流程控制
- 流程控制
- 流程控制
- 流程控制
- 流程控制
- 流程控制
- 流程控制
- 流程控制
- 流程控制
- 流程控制
- 流程控制
- VSPM2.56 同一台电脑上虚拟出两个相互连接的串口
- oracle 怎样设置自动递增的的字段,也就是设置自动递增的ID 主键
- 【操作系统】计算机语言及编译技术简介
- 分享一款jQuery的UI插件:Ninja UI
- 总结OnOK()、OnCancel()、OnClose()、OnDestroy()之间的区别(转)
- 流程控制 批处理
- 封装使用的一个小例子
- 【应用软件】JVM学习
- Check Network Type with TelephonyManager
- js 右下角 不移动 弹窗广告 带关闭按钮(不支持 谷歌)
- Linux原子操作的分析(经典)
- jxl导出Excel最全面的解释
- POI中设置Excel单元格格式
- 介绍一下Web服务器和APP服务器