国产探花免费观看_亚洲丰满少妇自慰呻吟_97日韩有码在线_资源在线日韩欧美_一区二区精品毛片,辰东完美世界有声小说,欢乐颂第一季,yy玄幻小说排行榜完本

首頁(yè) > 數(shù)據(jù)庫(kù) > Oracle > 正文

oracle中substr函數(shù)的用法

2024-08-29 13:31:40
字體:
來(lái)源:轉(zhuǎn)載
供稿:網(wǎng)友

in oracle/plsql, the substr functions allows you to extract a substring from a string.

the syntax for the substr function is:

substr( string, start_position, [ length ] )


說(shuō)明:
string is the source string.
start_position is the position for extraction. the first position in the string is always 1.
length is optional. it is the number of characters to extract. if this parameter is omitted, substr will return the entire string.

for example:
    substr('this is a test', 6, 2)          would return 'is'
    substr('this is a test', 6)              would return 'is a test'
    substr('techonthenet', 1, 4)     would return 'tech'
    substr('techonthenet', -3, 3)    would return 'net'
    substr('techonthenet', -6, 3)    would return 'the'
    substr('techonthenet', -8, 2)    would return 'on'

最大的網(wǎng)站源碼資源下載站,

發(fā)表評(píng)論 共有條評(píng)論
用戶名: 密碼:
驗(yàn)證碼: 匿名發(fā)表
主站蜘蛛池模板: 翼城县| 科技| 乌什县| 板桥市| 新绛县| 滨海县| 石棉县| 紫金县| 黄龙县| 惠东县| 贵德县| 永寿县| 长沙县| 彰化县| 广安市| 东明县| 苗栗市| 新巴尔虎右旗| 子长县| 汉沽区| 天门市| 西吉县| 伊金霍洛旗| 张家口市| 额济纳旗| 平度市| 孟州市| 镇巴县| 樟树市| 正蓝旗| 宕昌县| 平南县| 安福县| 榆社县| 大埔县| 晋宁县| 柯坪县| 罗平县| 嘉鱼县| 临湘市| 连州市|