ssis-2016

SSIS: Flat File default length

烈酒焚心 提交于 2019-12-04 11:46:23
I have to import about 50 different types of files every day. Some of them with a few columns, some inculde up to 250 columns. The Flat File connection always defaults all columns to 50 chars. Some columns can be way longer than 50 chars, and will of course end up in errors. Currently i am doing a stupid search&replace with notepad++ - Opening all SISS packages, replacing: DTS:MaximumWidth="50" by DTS:MaximumWidth="500" This is an annoying workaround. Is there any possibility to set a default length for flatfile string columns to a certain value? I am developing in Microsoft Visual Studio

How can I delete the columns in DataFlow Task in SSIS?

走远了吗. 提交于 2019-12-04 11:43:08
I use SQL Server 2016 and I have a very busy DataFlow task . In my DataFlow task , I use Multicast component for some reason. After creating a new Flow in my DataFlow , I need to delete some of the columns in the new flow because they are useless. Just for more information, I need to do that because I have more than 200 columns in my flow and I need less than 10 of those columns. How can I delete the columns in DataFlow Task in SSIS? You can add an extra component of some sort. However, this will never reduce complexity or improve performance. Just thinking about it, logically, you are adding