摘要: --dual伪表 --操作与任何表无关时Oracle提供了dual表,数据库提供的,满足SQL99标准要求/*例子 使用 || 连接字符串*/select 'hello'||' world' 字符串 from dual;字符串------------hello world 阅读全文
posted @ 2015-02-07 11:18 jerry1209 阅读(413) 评论(0) 推荐(0) 编辑
摘要: 1. 包含null的表达式都为null2. null永远!= null select * from emp where comm=null // error select * from emp where comm is null 3. nvl(filedName,0) // 如果为空... 阅读全文
posted @ 2015-02-07 11:01 jerry1209 阅读(125) 评论(0) 推荐(0) 编辑