sql server

  替换null:isnull(arg,value)

  如:select isnull(price,0.0) from orders ,如果price为null的话,用0.0替换

  与null比较: is not null,is null

  如 select * from orders where price is null ,price等于null

  如: select * from orders where price is not null ,price不等于null

  Oracle

  替换null: nvl(arg,value)

  如: select nvl(price,0.0) form orders

  与null比较: is not null,is null

  如 select * from orders where price is null ,price等于null

  如: select * from orders where price is not null ,price不等于null

最新文章

  1. Android中activity背景色的设置
  2. [译]了解AngularJS $resource
  3. Backbone入门——开发第一个Backbone页面
  4. VM VirtualBox 上安装 CentOs6.4(详细)
  5. HDOJ1518Square 深搜
  6. 概率dp小结
  7. MVC 创建带图片的<A></A>标签
  8. IOS中使用像素位图(CGImageRef)对图片进行处理
  9. Xcode-之CocoaPads
  10. 关于饿了么在浏览器标签页失去焦点时网页Title改变的实现方法
  11. PendingIntent、Notification常用方法
  12. C++反汇编第一讲,认识构造函数,析构函数,以及成员函数
  13. Android内核解读-应用的安装过程
  14. 并发库应用之八 & 循环路障CyclicBarrier应用
  15. win10 WSL kali 下载源 --另外 恭喜马哥喜提博客
  16. C语言 · 8皇后问题改编
  17. CentOS 7.6 安装 Weblogic 12
  18. python 全栈开发,Day124(MongoDB初识,增删改查操作,数据类型,$关键字以及$修改器,"$"的奇妙用法,Array Object 的特殊操作,选取跳过排序,客户端操作)
  19. django -----分页器组件
  20. 一些被提问频率最高的12个php面试题,以及对应的常规回答。

热门文章

  1. zedgraph控件的一些比较有用的属性 转
  2. hdu 1506 Largest Rectangle in a Histogram——笛卡尔树
  3. 启动servlet报错:The servlets named [DemoServlet] and [main.java.com.wlf.demo.servlet.DemoServlet] are both mapped to the url-pattern [/hello] which is not permitted
  4. SpringCloud使用jpa之传统方式
  5. 通过shell进行数学计算
  6. 杂项-TOOL:NPIO
  7. shell 5参数
  8. Leetcode 之Simplify Path @ python
  9. JpGraph使用详解http://5ydycm.blog.51cto.com/115934/177498 http://www.cnblogs.com/txw1958/archive/2013/08/18/php-charts.html
  10. 【转载】Docker 经验之谈