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??


Comments

  1. Does Postgre SQL has any use over here that can prove its functionality.

    SSIS PostgreSql Write

    ReplyDelete

Post a Comment

Popular posts from this blog

jquery - How can I dynamically add a browser tab? -

node.js - Getting the socket id,user id pair of a logged in user(s) -

keyboard - C++ GetAsyncKeyState alternative -