【问题标题】:token expression in flat file connection平面文件连接中的令牌表达式
【发布时间】:2019-08-30 17:55:34
【问题描述】:

我已经加载了以下格式的变量,例如:

where produkt = 'Muj zivot2 R' and uraz = 'Uraz' 

我需要文件名中的输出为:

Muj zivot2 R_Uraz

令牌对我有用,但在这种情况下不起作用

" + TOKEN(" @[User::where] ","''",2) + "_" + TOKEN(" @[User::where] ","''",4) + "

【问题讨论】:

    标签: variables ssis expression etl flat-file


    【解决方案1】:

    您可以使用以下表达式:

    TOKEN(@[User::where],"'",2) + "_" + TOKEN(@[User::where],"'",4)
    

    输出

    Muj zivot2 R_Uraz

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2013-03-06
      • 2019-12-13
      • 1970-01-01
      • 1970-01-01
      • 2015-08-29
      相关资源
      最近更新 更多