摘要: oracle的substr函数的用法取得字符串中指定起始位置和长度的字符串substr(string,start_position,[length])如:substr('Thisisatest',6,2)wouldreturn'is'substr('Thisisatest',6)wouldreturn'isatest'substr('TechOnTheNet',-3,3)wouldreturn'Net'substr('TechOnTheNet',-6,3)wouldreturn 阅读全文
posted @ 2011-01-08 22:12 emmy 阅读(112636) 评论(4) 推荐(8) 编辑
摘要: oracle只能传2个参数-concat(值1,值2)拼字符串concat(值1,值2)name := concat('a','b');name最后为 abconcat(值1,值2) oracle 只允许2个参数意思是 把值1和值2 拼成一个字符串。 阅读全文
posted @ 2011-01-08 21:44 emmy 阅读(988) 评论(0) 推荐(2) 编辑