sql - SSIS Multiple expressions separated by Pipe (|) -



sql - SSIS Multiple expressions separated by Pipe (|) -

currently have next expression:

@[tms_dest] + "\\" + @[tms_rename] + (dt_wstr,4)datepart("yyyy", getdate()) + right("0" + (dt_wstr,2)datepart("mm", getdate()), 2) + right("0" + (dt_wstr,2)datepart("dd", getdate()), 2) + ".xls"

which gives me location , filename attach outgoing email using send mail service task.

issue want task send 2 files, when trying separate expressions using pipe | next casting error:

the info type "dt_wstr" cannot used binary operator "|". type of 1 or both of operands not supported operation. perform operation, 1 or both operands need explicitly cast cast operator.

am using pipe wrong, if not, causing this?

perhaps need include pipe in string? sounds pipe trying interpreted look editor.

"file1.xls" + "|" + "file2.xls"

sql sql-server-2005 ssis

Comments

Popular posts from this blog

How do I check if an insert was successful with MySQLdb in Python? -

delphi - blogger via idHTTP : error 400 bad request -

postgresql - ERROR: operator is not unique: unknown + unknown -