You can use PARSENAME to get the different parts of your string. Here's a couple of links that discusses a similar way in using the PARSENAME:
http://www.sql-server-helper.com/tips/split-name.aspx
http://www.sql-server-helper.com/tips/sort-ip-address.aspx
SQL Server Helper...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.