Solved

SSIS Flat File Destination File Extension Case Issue

Posted on 2011-09-28
5
671 Views
Last Modified: 2012-05-12
Hello all,

I have an SSIS package that formats a flat file for importing into a third party application. The problem I am running into is the file extension of the file destination connection is showing up as upper case and the third party requires lower case. So my SSIS generated file is coming out as "DataFile_CCYYMMDD.POS" and it needs to be "DataFile_CCYYMMDD.pos". All of my variables are showing the file extension as lower case .pos, the file connection manager shows it as lower case, the expression on the connection evaulates to lower case, the script where I concatenate the date into the file name shows lower case extension, but file is written to the hard drive with an upper case extension. I have been unable to find where I can change this. Any help is appreciated.
0
Comment
Question by:Hooznext
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
5 Comments
 
LVL 5

Expert Comment

by:MrNetic
ID: 36716514
Hi,
If you are running this as a job, you should check if someone else has changed the ssis job step, incluing package configurations and datasources.
0
 
LVL 21

Expert Comment

by:Alpesh Patel
ID: 36716781
At end of the Package use File system task and rename the file.
0
 
LVL 1

Author Comment

by:Hooznext
ID: 36716930
MrNetic, it is not in production yet, I am running this through Visual Studio. It is ready for final testing as soon as I figure out why all the extension are capital letters.

Patel, I could do this, depending on the day there can be thousands of files created by this job, to have to loop over them and rename them would introduce more overhead, I'd rather have the files named appropriately when they are created. This idea is a last resort for me.
0
 
LVL 1

Accepted Solution

by:
Hooznext earned 0 total points
ID: 37430195
I forgot this was still open, I found a query that was setting the extension to upper case after the fact. It was not an SSIS issue, but a database admin issue, sorry.
0
 
LVL 1

Author Closing Comment

by:Hooznext
ID: 37453037
Was an issue created by an admin in our database, nothing to do with SSIS.
0

Featured Post

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

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

Use this article to create a batch file to backup a Microsoft SQL Server database to a Windows folder.  The folder can be on the local hard drive or on a network share.  This batch file will query the SQL server to get the current date & time and wi…
This article explains how to reset the password of the sa account on a Microsoft SQL Server.  The steps in this article work in SQL 2005, 2008, 2008 R2, 2012, 2014 and 2016.
Via a live example, show how to extract information from SQL Server on Database, Connection and Server properties
Viewers will learn how to use the SELECT statement in SQL and will be exposed to the many uses the SELECT statement has.

738 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