Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/ssis/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
SSIS表达式生成器-如何查找字符的最后一次出现_Ssis_Ssis 2016 - Fatal编程技术网

SSIS表达式生成器-如何查找字符的最后一次出现

SSIS表达式生成器-如何查找字符的最后一次出现,ssis,ssis-2016,Ssis,Ssis 2016,我的价值观如下所示: D:\DM-250\Insert_Jobs-QA-UAT\14-FILE_A_UpdateInsert.dts D:\DM-250\Insert_Jobs-QA-UAT\Something_DaisyChain\14-stuff_and_things_UpdateInsert.dts D:\DM-250\14-another_file.dts 我想要这3个值的最末端,从最后一个“\”字符开始 我试图使用FINDSTRING,但我不知道如何获取字符的最后一次出现 有什么

我的价值观如下所示:

D:\DM-250\Insert_Jobs-QA-UAT\14-FILE_A_UpdateInsert.dts

D:\DM-250\Insert_Jobs-QA-UAT\Something_DaisyChain\14-stuff_and_things_UpdateInsert.dts

D:\DM-250\14-another_file.dts
我想要这3个值的最末端,从最后一个
“\”
字符开始

我试图使用
FINDSTRING
,但我不知道如何获取字符的最后一次出现


有什么建议吗?

这将从右侧为您提供该职位

findstring(reverse([your column]),"\",1)
我猜您正在尝试提取文件名,它是:

right([your column], [result from above] - 1)

尝试使用reverseI提出了一个使用令牌和令牌计数的解决方案,但让我看看您的解决方案是否更简单。