平面文件连接中的标记表达式

token expression in flat file connection

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

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

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

Muj zivot2 R_Uraz

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

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

您可以使用以下表达式:

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

输出

Muj zivot2 R_Uraz