query to get part of a string

Posted by tri on Stack Overflow See other posts from Stack Overflow or by tri
Published on 2010-05-07T21:00:21Z Indexed on 2010/05/07 21:08 UTC
Read the original article Hit count: 303

Filed under:
column1
\\abc\tri\eds\rf1\edr\4ed
\\f.d\tri\ef\poe
\\ghi0j\tri\gf\rf\k\hg\ose

' ' '

i got some rows like that in a column

now i want to get the result set like

\\abc\tri\eds
\\f.d\tri\ef\
\\ghij\tri\gf

simply from first '\' to end of 4th '\'

© Stack Overflow or respective owner

Related posts about tsql