Quantcast
Channel: Questions in topic: "ssis"
Viewing all articles
Browse latest Browse all 813

Substring, Findstring in SSIS Expression

$
0
0
I have a lot of import file names like these: AC_135_Account(0)_balance.xml, AC_135_Account(1)_balance.xml, AC_4725_Account(0)_balance.xml, AC_10629_Account(0)_balance.xml,... I would like to get the numbers 135, 4725,10629 only. My expression likes this: (DT_14)SUBSTRING(@[User::ImportFileName],4,FINDSTRING(@[User::ImportFileName],"_balance.xml",1)-20) It doesn't work. Could anyone please help with this expression?

Viewing all articles
Browse latest Browse all 813

Trending Articles