Solved

dynamic flat file name in SSIS

Posted on 2011-09-09
1
568 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:
huslayer 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

Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

Join & Write a Comment

Suggested Solutions

SQL Server engine let you use a Windows account or a SQL Server account to connect to a SQL Server instance. This can be configured immediatly during the SQL Server installation or after in the Server Authentication section in the Server properties …
How to leverage one TLS certificate to encrypt Microsoft SQL traffic and Remote Desktop Services, versus creating multiple tickets for the same server.
Via a live example, show how to extract information from SQL Server on Database, Connection and Server properties
Using examples as well as descriptions, and references to Books Online, show the documentation available for datatypes, explain the available data types and show how data can be passed into and out of variables.

762 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

Need Help in Real-Time?

Connect with top rated Experts

26 Experts available now in Live!

Get 1:1 Help Now