Basically I have an entire recordset where the value I need is the third value(1/2/3/4). It's always the third value, I've been trying something similar to wengyan (Thanks), but cannot seem to get it.
DECLARE @Var as varchar(50)
DECLARE @Var2 as varchar(50)
SET @Var = '2541/6113625/W284901.02/01001/J/100/309350.'
SET @Var2 = right(@Var, len(@Var)-CHARINDEX('/', @Var))
SELECT Left(@Var2, charindex('/', @Var2)-1)
[I was testing on the second string]
I need to select two colums, one of which contains the nested string that I need, the other contains a dollar amount.
Select Description, [Parsed String], Dollars From Table1
Thanks for the replies. Any more suggestions?