oracle的substr函数的用法
 取得字符串中指定起始位置和长度的字符串   substr( string, start_position, 
[ length ] )
 如:
     substr(
'This is a test'62)     would return 'is'
     substr(
'This is a test'6)     would return 'is a test'
     substr(
'TechOnTheNet'-33)     would return 'Net'
     substr(
'TechOnTheNet'-63)     would return 'The'
select substr('Thisisatest'-42) value from dual
posted on 2007-03-20 21:27  ipusr  阅读(43116)  评论(8编辑  收藏  举报