Extracting a string value from a pipe-separated string in a table column

disasterkid

I'm an Oracle newbie. I have a column in my table that contains a pipe(|)-separated string such as this:

uguyguyguyguyguy|0737494110|[email protected]|E:\PROD_ActionMarketer\Program\Apsis\ApsisREST.exe|E:\PROD_ActionMarketer\Temp\TempApsisAdmin.skv|SENDEMAIL|"LIST=Daily SMS SPL"|1015832

As you see the penultimate value begins with "LIST=". I want to extract the value after this string i.e. "Daily SMS SPL" to be able to compare it with another column in another table. I want to obtain this value ("Daily SMS SPL") using a SELECT query if it's possible.

So let's say the table name is MYTABLE and the name of the column is MYCOLUMN.

Mihai
  SELECT SUBSTR(surname,1
                 ,INSTR(surname,'"',1,1)-1) FROM
(SELECT SUBSTR(column
                 ,INSTR(column,'LIST',-1)+5
                 ) AS surname
     FROM table)

FIDDLE

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

From Dev

Extracting Date from a String

From Dev

Extracting elements from a string

From Dev

extracting hash tag value from a string

From Dev

How can I normalize a table by extracting comma separated text from a column into a child table?

From Dev

Extracting a value from a HTML string (PYTHON)

From Dev

Extracting key value pairs from string with quotes

From Dev

Extracting a string from one column into another in R

From Dev

Extracting placeholders from string

From Dev

Extracting year from a string

From Dev

Deleting particular string value from column from table

From Dev

Extracting JSON from string

From Dev

How can I use comma separated string from a column as value for MySQL IN statement

From Dev

Extracting elements from a string

From Dev

Extracting Formula from String

From Dev

Extracting column from comma separated text

From Dev

Extracting parts of whitespace separated string

From Dev

extracting a part of string from a particular column

From Dev

Extracting string value from unstructured text

From Dev

Get a specific value from comma separated string

From Dev

convert certain column names with comma separated string from sql table with conditions

From Dev

How can I normalize a table by extracting comma separated text from a column into a child table?

From Dev

Extracting a value from a HTML string (PYTHON)

From Dev

Extracting numerical values from mySQL column string value

From Dev

How to match any value of search string from a column containing multiple values separated by space in table in sql?

From Dev

How to remove backslash from the end of the string value of a column in a tab separated text file?

From Dev

Fetch row from table which matches a value in one column and presence of sub-string in comma separated string in other column

From Dev

Extracting data/string from Pandas DF column

From Dev

Extracting a datetime from a string and checking the value

From Dev

extracting value from complicated string in php

Related Related

  1. 1

    Extracting Date from a String

  2. 2

    Extracting elements from a string

  3. 3

    extracting hash tag value from a string

  4. 4

    How can I normalize a table by extracting comma separated text from a column into a child table?

  5. 5

    Extracting a value from a HTML string (PYTHON)

  6. 6

    Extracting key value pairs from string with quotes

  7. 7

    Extracting a string from one column into another in R

  8. 8

    Extracting placeholders from string

  9. 9

    Extracting year from a string

  10. 10

    Deleting particular string value from column from table

  11. 11

    Extracting JSON from string

  12. 12

    How can I use comma separated string from a column as value for MySQL IN statement

  13. 13

    Extracting elements from a string

  14. 14

    Extracting Formula from String

  15. 15

    Extracting column from comma separated text

  16. 16

    Extracting parts of whitespace separated string

  17. 17

    extracting a part of string from a particular column

  18. 18

    Extracting string value from unstructured text

  19. 19

    Get a specific value from comma separated string

  20. 20

    convert certain column names with comma separated string from sql table with conditions

  21. 21

    How can I normalize a table by extracting comma separated text from a column into a child table?

  22. 22

    Extracting a value from a HTML string (PYTHON)

  23. 23

    Extracting numerical values from mySQL column string value

  24. 24

    How to match any value of search string from a column containing multiple values separated by space in table in sql?

  25. 25

    How to remove backslash from the end of the string value of a column in a tab separated text file?

  26. 26

    Fetch row from table which matches a value in one column and presence of sub-string in comma separated string in other column

  27. 27

    Extracting data/string from Pandas DF column

  28. 28

    Extracting a datetime from a string and checking the value

  29. 29

    extracting value from complicated string in php

HotTag

Archive