ssis-2016

SSIS package gives error after deployment SQL Server 2012

大憨熊 提交于 2019-12-20 06:24:32
问题 I created a package in Visual Studio 2015. It works fine. Basically I am using a script task that generates Excel spreadsheet and sends it to different users. After I deploy the package to SQL Server 2012 and then try to execute it from there - I get an error without any further details. I also run select * from internal.packages from SSISDB to make sure package_format_version is 6, which is what should be for SQL Server 2012. What could be the problem? 回答1: This necessarily isn't an answer

SSIS package gives error after deployment SQL Server 2012

筅森魡賤 提交于 2019-12-20 06:24:10
问题 I created a package in Visual Studio 2015. It works fine. Basically I am using a script task that generates Excel spreadsheet and sends it to different users. After I deploy the package to SQL Server 2012 and then try to execute it from there - I get an error without any further details. I also run select * from internal.packages from SSISDB to make sure package_format_version is 6, which is what should be for SQL Server 2012. What could be the problem? 回答1: This necessarily isn't an answer

Special character in Sensitive SSIS Package Parameter String renders package invalid

…衆ロ難τιáo~ 提交于 2019-12-12 21:43:11
问题 I have a Sensitive String Parameter on an SSIS Package that is used to store a password for a remote server. However, the Job Agent throws an error whilst configuring the Package Parameters of that step when the string value contains a curly brace: Microsoft SQL Server Management Studio: Errors were detected in the command line arguments, please make sure all arguments are set correctly. (SqlManagerUI) The package works when it is directly executed in Visual Studio Data Tools, or when the {

SSIS Expression Builder - How to find last occurrence of a character

ぐ巨炮叔叔 提交于 2019-12-12 20:16:25
问题 I have values that look like this: D:\DM-250\Insert_Jobs-QA-UAT\14-FILE_A_UpdateInsert.dts D:\DM-250\Insert_Jobs-QA-UAT\Something_DaisyChain\14-stuff_and_things_UpdateInsert.dts D:\DM-250\14-another_file.dts I want the very ends of these 3 values, starting from the last "\" character. I tried to use FINDSTRING , but I don't know how to grab the last occurrence of a character. Any suggestions? 回答1: This will give you the position from the right. findstring(reverse([your column]),"\",1) I am

how to capture timestamp with milliseconds in ssis package 2016

余生颓废 提交于 2019-12-11 00:40:05
问题 How to capture current timestamp in ssis package 2016 I declared a variable and using expression but milliseconds are missing @currenttimestamp = (DT_WSTR,50)(DT_DBTIMESTAMP)@[System::StartTime] I want the milliseconds too Thanks 回答1: The issue was solved when casting to (DT_DBTIMESTAMP2,3) : (DT_WSTR,50)(DT_DBTIMESTAMP2,3)GETDATE() but the time get changes as it using the getdate() asit returns the current time, I need the package start time I used the following (DT_WSTR,50)(DT_DBTIMESTAMP2

Execute Stored Procedure with multiple result sets

谁都会走 提交于 2019-12-10 19:13:24
问题 I am using SSIS 2016. I need to execute a stored procedure that returns 4 result sets. I only need to keep the first result set and write this to a table. I can not modify the stored procedure. I do not care about any of the data returned in the other result sets. The stored procedure is in a SQL Server 2016 database. Results will also reside in SQL Server 2016. I currently have this process running in SSIS 2008 using the "SQL Command" data access mode in an OLE DB Source like below. I have

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

北战南征 提交于 2019-12-06 07:15:34
问题 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? 回答1: You can add an extra component of some sort. However,

SSIS - Sharepoint List Adapters for SQL Server 2016

寵の児 提交于 2019-12-06 06:29:10
We have many SSIS imports in our environment all created with SQL / Visual Studio 2008 version. We run a lot of imports from SharePoint and for that we have been using SharePoint List Adapters that we got from CodePlex long time ago. It works great in SSIS 2008. However we are trying to upgrade all of our jobs to run with newer version and using SQL Server Data Tools 2015. I installed SQL Server Data Tools 2015 on the same machine as SQL Server 2008 Developer Tools. I am still able to use the 2008 version and see the SharePoint list adapters there but they do not show up in the 2015 version.

SSIS: Flat File default length

廉价感情. 提交于 2019-12-06 05:07:52
问题 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

SSIS script task fail version 15.0 script?

天大地大妈咪最大 提交于 2019-12-04 18:05:45
I have a 2012 SSIS project that runs on SQL Server 2016. I have SSDT 2015 on both my dev machine and server. Everything works fine except for script tasks - I made a change to an existing script task and rebuilt and redeployed the project and I receive the following error: Script task uses version 15.0 script that is not supported in this release of integration services. To run the package, create a new script. I've tried the following: upgrading the project to 2016 creating a new script object created script on the server It runs fine through SSDT 2015, but once it is deployed it fails with