Log in
::
Register
::
Not logged in
Home
Tags
Articles
Editorials
Stairways
Forums
Scripts
Videos
Blogs
QotD
Books
Ask SSC
SQL Jobs
Training
Authors
About us
Contact us
Newsletters
Write for us
Recent Posts
Recent Posts
Popular Topics
Popular Topics
Home
Search
Members
Calendar
Who's On
Home
»
Data Warehousing
»
Integration Services
»
Flat File connection Manager - File Name, The...
13 posts, Page 2 of 2
««
1
2
Flat File connection Manager - File Name, The Folder in File Name changes every time the package is reopoened and needs resetting
Rate Topic
Display Mode
Topic Options
Author
Message
Debbie Edwards
Debbie Edwards
Posted Thursday, February 21, 2013 9:11 AM
SSC-Addicted
Group: General Forum Members
Last Login: 2 days ago @ 6:33 AM
Points: 415,
Visits: 621
kl25 (2/21/2013)
Here's the general approach I use:
1. Set a variable for the path (folder). Learned early on to separate the path because paths that I thought would NEVER change did.
2. Set a variable for the file name. This is often an expression to allow including the run date or other important but changing aspects of the file name.
3. Set a variable for the full file name. This is always an expression of @Path + @FileName.
4. Set the expression for the connection string to @FileNameFull for the flat file connection manager via the properties window, expressions section.
I think that's what you're doing but I'm not positive.
Ah ha!!!
Ive added the file path in with the file name that is only used to create the CSV files and it seems to have dont the trick. It means that if I change the folder I have to go into the SQL View I have created to alter it but at least it is working.
Yeeeeeeeeey
Thank you, that list was really helpful.
Post #1422661
kl25
kl25
Posted Thursday, February 21, 2013 9:15 AM
SSC Veteran
Group: General Forum Members
Last Login: Friday, May 10, 2013 4:23 PM
Points: 237,
Visits: 1,092
You're welcome. Glad you got the issue worked out.
Post #1422666
Debbie Edwards
Debbie Edwards
Posted Thursday, February 21, 2013 9:20 AM
SSC-Addicted
Group: General Forum Members
Last Login: 2 days ago @ 6:33 AM
Points: 415,
Visits: 621
kl25 (2/21/2013)
You're welcome. Glad you got the issue worked out.
Your Full File Name made me realise where I was going wrong. Thank you again. What a day
Post #1422669
« Prev Topic
|
Next Topic »
13 posts, Page 2 of 2
««
1
2
Permissions
You
cannot
post new topics.
You
cannot
post topic replies.
You
cannot
post new polls.
You
cannot
post replies to polls.
You
cannot
edit your own topics.
You
cannot
delete your own topics.
You
cannot
edit other topics.
You
cannot
delete other topics.
You
cannot
edit your own posts.
You
cannot
edit other posts.
You
cannot
delete your own posts.
You
cannot
delete other posts.
You
cannot
post events.
You
cannot
edit your own events.
You
cannot
edit other events.
You
cannot
delete your own events.
You
cannot
delete other events.
You
cannot
send private messages.
You
cannot
send emails.
You
may
read topics.
You
cannot
rate topics.
You
cannot
vote within polls.
You
cannot
upload attachments.
You
may
download attachments.
You
cannot
post HTML code.
You
cannot
edit HTML code.
You
cannot
post IFCode.
You
cannot
post JavaScript.
You
cannot
post EmotIcons.
You
cannot
post or upload images.
Copyright © 2002-2013 Simple Talk Publishing. All Rights Reserved.
Privacy Policy.
Terms of Use.
Report Abuse.