July 24, 2012 at 5:49 am
Hi ,
I need suggestions for following :
I am trying to copy a text file from One location to other location and After copying file Need to Delete file from source location and need to keep a log of this file
July 24, 2012 at 7:49 am
This sounds a job for SSIS. No sql script is going to be very efficient at doing that sort of thing.
Here is one of thousands of places to get started. http://msdn.microsoft.com/en-us/library/ms169917%28v=sql.105%29.aspx
_______________________________________________________________
Need help? Help us help you.
Read the article at http://www.sqlservercentral.com/articles/Best+Practices/61537/ for best practices on asking questions.
Need to split a string? Try Jeff Modens splitter http://www.sqlservercentral.com/articles/Tally+Table/72993/.
Cross Tabs and Pivots, Part 1 – Converting Rows to Columns - http://www.sqlservercentral.com/articles/T-SQL/63681/
Cross Tabs and Pivots, Part 2 - Dynamic Cross Tabs - http://www.sqlservercentral.com/articles/Crosstab/65048/
Understanding and Using APPLY (Part 1) - http://www.sqlservercentral.com/articles/APPLY/69953/
Understanding and Using APPLY (Part 2) - http://www.sqlservercentral.com/articles/APPLY/69954/
July 24, 2012 at 8:01 am
An SSIS File system task could help you achieve that.
http://msdn.microsoft.com/en-us/library/ms140185.aspx
Avinash
~ demonfox
___________________________________________________________________
Wondering what I would do next , when I am done with this one :ermm:
Viewing 3 posts - 1 through 2 (of 2 total)
You must be logged in to reply to this topic. Login to reply