您现在的位置是:首页 >

oracle中substr oracle中substr函数的用法

火烧 2021-09-03 04:13:04 1050
oracle中 u tr函数的用法   I oracle/PLSQL the u tr fu ctio allow you to extract a u tri g from a tri g   Th

oracle中substr函数的用法  

  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 ] )

  说明

  string is the source string

  start_position is the position for extraction The first position in the string is always

  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 ) would return is

  substr( This is a test ) would return is a test

oracle中substr oracle中substr函数的用法

  substr( TechOnTheNet ) would return Tech

  substr( TechOnTheNet ) would return Net

  substr( TechOnTheNet ) would return The

lishixinzhi/Article/program/Oracle/201311/18708  
永远跟党走
  • 如果你觉得本站很棒,可以通过扫码支付打赏哦!

    • 微信收款码
    • 支付宝收款码