oracle中截取字符串
时间: 2023-11-26 10:04:29 浏览: 99
Oracle截取字符串去掉字段末尾指定长度的字符
在Oracle中,你可以使用SUBSTR函数来截取字符串。SUBSTR函数的语法是:
SUBSTR(string, a, b)
其中,string是需要截取的字符串,a是截取字符串的开始位置,b是要截取的字符串的长度。如果a等于0或1,那么就从第一个字符开始截取。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* [Oracle中的substr()函数 详解及应用](https://blog.csdn.net/Onlyiyou/article/details/79928231)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v92^chatsearchT3_1"}}] [.reference_item style="max-width: 50%"]
- *2* *3* [Oracle中字符串截取最全方法总结](https://blog.csdn.net/xiaochenXIHUA/article/details/119743090)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v92^chatsearchT3_1"}}] [.reference_item style="max-width: 50%"]
[ .reference_list ]
阅读全文