Quantcast
Channel: SQL Server Integration Services forum
Viewing all articles
Browse latest Browse all 24688

how to add a datetiemstamp on filename generated by flat file destination

$
0
0


in my data flow task, i have oledb source and flat file destination (using flat file connection manager)

here in above data flow, oledb source has some sql statmenet as

select  '"'+ employee + '","'+ +  '","'+ eid+ + '","'+ empcity + '","'+ EMPDOB + '"'

it will write to file in d:\ssis\myfile.txt

so  far it is working fine now,

but now how to have filename with date and time stamp on it i.e., when the file generates

myfile 11/5/2012 16:30.010.txt

myfile 11/5/2012 17:13.010.txt

myfile 11/5/2012 18:33.010.txt

myfile 11/5/2012 19:20.010.txt

etc

how can i acheive this, could some body please assist me, or any other ideas please ....

Thaanks in advance
asitti

Viewing all articles
Browse latest Browse all 24688

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>