Viewing 7 posts - 1 through 7 (of 7 total)
Thank you I appreciate your advice. I've looked up a VBS function and will try and use this with SSIS .
Dim strAryWrd
Dim strValue
Dim strValue1
strValue = "EBRND, DIET ...
March 19, 2010 at 11:27 am
Thanks ALL
Here is the solution I came up with.
DECLARE @x VARCHAR(80)
SET @x = '400.367.369.379'
SELECT
SUBSTRING(@x++'..',CHARINDEX('.',@x++'..')+1,CHARINDEX('.',SUBSTRING(@x++'..',CHARINDEX('.',@x++'..')+1,DATALENGTH(@x++'..')))-1)
Thanks for all your help
February 25, 2010 at 6:25 am
Lynn Pettis (2/24/2010)
Based on the data provided in your original post, what would be the expected result?
399. = NULL
400. = NULL
400.367. = 367
400.35.369. = 35
37.367.369.3 =367
400.367.369.379. = 367
Thank you
February 24, 2010 at 11:44 am
Viewing 7 posts - 1 through 7 (of 7 total)