Skip to content
Advertisement

SQL : String extraction from Path

Could you please help on how can I extract String1 , String 2 and String 3 to use these in my SQL queries ..

Advertisement

Answer

Please try the following solution.

It is based on tokenization via XML/XQuery.

After that it is very easy to pick up any token based on its position.

SQL

Output

User contributions licensed under: CC BY-SA
6 People found this is helpful
Advertisement