Quantcast
Channel: dBforums – Everything on Databases, Design, Developers and Administrators
Viewing all articles
Browse latest Browse all 13329

Extract strings from the searchpath column

$
0
0
Hi, I have a 'searchpath' column in audit table. I need to extract the folders from the column and display it in seperate columns.

Column searchpath has value like:

//content/folder[@name='AFR']/folder?[@name='AFRABC']/folder[@name='CDD']/folder[@name='Packages'] /folder[@name='Deployment']/package[@name='XXX spend name']/model

I need to extract the folder names and display it in seperate columns in a new table this way:
AFR AFRABC CDD Packages Deployment XXX spend name

Can you please help in implementing it.

Viewing all articles
Browse latest Browse all 13329

Trending Articles