Slit Comma Separate Values in Rows through SQL (Oracle)

 with rws as (

  select item_id,vehcile_id str from ITEMS_APPLICATIONS

)

  select item_id,regexp_substr (

           str,

           '[^,]+',

           1,

           level

         ) value

  from   rws

  connect by level <= 

    length ( str ) - length ( replace ( str, ',' ) ) + 1

Comments

Popular posts from this blog

Oracle Database Listener Configuration

Oracle Weblogic Repository DB Users Password Reset

Emailing With Large Text