Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/flash/4.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
Csv 如何在ssis中的txt文件末尾连接yyyyMMdd?_Csv_Ssis_Etl_Flat File_Derived Column - Fatal编程技术网

Csv 如何在ssis中的txt文件末尾连接yyyyMMdd?

Csv 如何在ssis中的txt文件末尾连接yyyyMMdd?,csv,ssis,etl,flat-file,derived-column,Csv,Ssis,Etl,Flat File,Derived Column,我正在使用SSI转换我的数据。我的文件名是test_heathcare.csv。如何将其作为新的派生列(文件名为test_healthcare20190712.txt)带到平面文件目标 如果有人知道,请帮助我。您可以使用表达式来实现: 将文件路径存储在变量中 然后单击目标平面文件连接管理器。按F4键以显示“属性”选项卡 转到表达式属性 从tge expressions(tge表达式)窗口中,选择ConnectionString(连接字符串)属性并使用类似的表达式: REPLACE(@[User:

我正在使用SSI转换我的数据。我的文件名是test_heathcare.csv。如何将其作为新的派生列(文件名为test_healthcare20190712.txt)带到平面文件目标


如果有人知道,请帮助我。

您可以使用表达式来实现:

  • 将文件路径存储在变量中
  • 然后单击目标平面文件连接管理器。按F4键以显示“属性”选项卡
  • 转到表达式属性
  • 从tge expressions(tge表达式)窗口中,选择ConnectionString(连接字符串)属性并使用类似的表达式:

    REPLACE(@[User::FilePath],".csv","20190712.txt")
    
  • 其他信息


    问题解决了吗?@Yahfoufi,还没有。仍在等待更多回应。您尝试过下面的建议吗?若您希望使用派生列来更改目的地,那个么这是不可能的。使用动态文件路径作为目标的唯一方法是使用表达式