variables - SSIS Expression use with SQL Query -
i've got ongoing issue i'm trying around. i'm trying file count flat file name (that's file count not row count). plan use lookup table tells ssis number use, example :
select max(filenumber) filenumber filenumber
this return last number used (as updated @ end of package), i'm struggling how file name variable?? variable using file name :
"l:\\folder\\folder\\folder\\file_003_{00}_" + (dt_str,4,1252)datepart( "yyyy" , getdate() )+"-"+ right("0" + (dt_str,4,1252)datepart( "mm" , getdate() ), 2) +"-" + right("0" + (dt_str,4,1252)datepart( "dd" , getdate() ), 2) +"_q1" +".txt"
with {00} being need file count. can help??
Does Postgre SQL has any use over here that can prove its functionality.
ReplyDeleteSSIS PostgreSql Write