Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
Author |
Topic |
rohit.kumar.barik
Starting Member
4 Posts |
Posted - 2013-08-22 : 13:21:37
|
i need to implement the below code in ssis.
declare @value nvarchar(200); set @value='EN 60325'; WHILE @Value LIKE '%[^0-9]%' SET @Value = REPLACE(@Value, SUBSTRING(@Value, PATINDEX('%[^0-9]%', @Value), 1), '') select @value
output-> 60325 Mainly i need alternative to patindex. Thanks in advance! |
|
MuMu88
Aged Yak Warrior
549 Posts |
Posted - 2013-08-22 : 17:33:59
|
Refer to this: http://stackoverflow.com/questions/5626370/how-to-remove-prefixed-numbers-from-a-varchar-in-ssis |
 |
|
|
|
|