摘要: 1,concat(str1,str2) 连接字符串str1和字符串str2,返回连接后的字符串,相当于‘||’SQL> select concat('god ','bless u'),'god '||'bless u' from dual;CONCAT('GOD','BLESSU') 'GOD'||'BLESSU'---------------------- ----------------------god bless u god bless u2,initc 阅读全文
posted @ 2012-11-08 16:03 心意合一 阅读(201) 评论(0) 推荐(0) 编辑
摘要: 1,abs(n) 返回n的绝对值SQL> select abs(-1),abs(1) from dual; ABS(-1) ABS(1)---------- ---------- 1 12,ceil(n) 返回大于等于n的最小整数SQL> select ceil(10),ceil(10.5),ceil(-10.5) from dual; CEIL(10) CEIL(10.5) CEIL(-10.5)---------- ---------- ----------- 10 11 -103,floor(n... 阅读全文
posted @ 2012-11-08 14:07 心意合一 阅读(357) 评论(0) 推荐(0) 编辑