Java中【null】的判断:

1.【null】只能通过is null,is not null判断,任何与的 关系运算(比较,有大于、大于等于、小于、小于等于、等于、不等于六种运算)都是false。

解决的方法:if(【null】is not null and 【null】>=n)

declare
-- Local variables here
i integer;
v_platform number(10);
begin
-- Test statements here
SELECT null INTO v_platform FROM dual;
dbms_output.put_line('wwwww'||v_platform);
if  v_platform<>19 then
dbms_output.put_line('wwwww');
end if;

end;

改进:

declare
-- Local variables here
i integer;
v_platform number(10);
begin
-- Test statements here
SELECT null INTO v_platform FROM dual;
dbms_output.put_line('wwwww'||v_platform);
if v_platform is not null and v_platform<>19 then
dbms_output.put_line('wwwww');
end if;

end;

最新文章

  1. jQuery初始化加载的实现
  2. freeCAD下载与安装
  3. static关键字详解
  4. 【iCore3 双核心板】例程十六:USB_HID实验——双向数据传输
  5. Spring 一二事(5) - 依赖注入
  6. iOS 开发之重力动画效果
  7. hdu 3072
  8. QMapControl介绍
  9. hdu 5642 King&#39;s Order(数位dp)
  10. axios全攻略
  11. Visual Studio2017中如何让Entity Framework工具【ADO.NET实体数据模型】支持MYSQL数据源
  12. angular2 组件交互
  13. ZOJ1171
  14. Java JTable列顺序和列宽度保存在用户本地
  15. JVM学习(一)、垃圾收集器简介
  16. 关于GPL协议的理解(开源与商用、免费与收费的理解)
  17. clusterProfiler包
  18. 在centOS 7 中安装 MySQL
  19. scrapy爬虫框架之Xpath选择器
  20. python学习(十三)进程和线程

热门文章

  1. SAP基础:定位点运算
  2. myEclipse和eclipse从debug视图自动跳回default视图。
  3. react 的基础
  4. ArrayList与LinkList
  5. 在Linux和Windows之间的远程控制的实现
  6. Oracle中查看SQL语句的索引命中情况及CPU占用
  7. Android Studio中使用Git进行代码管理(分支、合并)
  8. js中new函数后带括号和不带括号的区别
  9. 【Java集合系列五】HashMap解析
  10. IntelliJ IDEA入门系列