Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
 
Log in  ::  Register  ::  Not logged in
 
 
 
        
Home       Members    Calendar    Who's On


Add to briefcase

rename the filename using script task in ssis Expand / Collapse
Author
Message
Posted Monday, September 08, 2008 10:04 PM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: General Forum Members
Last Login: Thursday, November 11, 2010 4:10 AM
Points: 8, Visits: 14
Hi ssis gurus,

i have a file in a directory and i need to get the filename in a variable
and then i want to change the file name in the directory

for ex: in a directory my flat file name is 'file.txt'
i should get me the filename in the ssis package variable and then i need to
change the file name 'user.txt' after processing file

how to get using script task this work

Suggestions and Help would be highly appreciated.

thanks
venki
Post #565889
Posted Monday, September 08, 2008 10:18 PM


SSC-Insane

SSC-InsaneSSC-InsaneSSC-InsaneSSC-InsaneSSC-InsaneSSC-InsaneSSC-InsaneSSC-InsaneSSC-InsaneSSC-InsaneSSC-Insane

Group: General Forum Members
Last Login: Today @ 8:55 PM
Points: 22,492, Visits: 30,199
I'd suggest looking at the File System Task in SSIS to accomplish this task.




Lynn Pettis

For better assistance in answering your questions, click here
For tips to get better help with Performance Problems, click here
For Running Totals and its variations, click here or when working with partitioned tables
For more about Tally Tables, click here
For more about Cross Tabs and Pivots, click here and here
Managing Transaction Logs

SQL Musings from the Desert Fountain Valley SQL (My Mirror Blog)
Post #565891
« Prev Topic | Next Topic »

Add to briefcase

Permissions Expand / Collapse