Solved

dynamic flat file name in SSIS

Posted on 2011-09-09
1
571 Views
Last Modified: 2013-11-10
Creating a SSIS package. I need to write data in a flat file form one of my tables. So I created a flat file connection manager which has the file name and all the columns in the file. I added a data flow task to my package. On the data flow tab I added OLE DB Source connecting to a flat file destination.

I want to name my flat file same as the project name +".txt". The project name is stored in a user variable, but I don't see where I can specify that file naming convention. Please advice.

Thanks,
0
Comment
Question by:patd1
1 Comment
 
LVL 21

Accepted Solution

by:
Jason Yousef, MS earned 500 total points
ID: 36510997
Hi Add an expression for the connection string   over the "flat file connection manager"

confusing? see attached... e
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
For both online and offline retail, the cross-channel business is the most recent pattern in the B2C trade space.
Via a live example, show how to extract insert data into a SQL Server database table using the Import/Export option and Bulk Insert.
Viewers will learn how to use the SELECT statement in SQL to return specific rows and columns, with various degrees of sorting and limits in place.

809 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question