ssis

SSIS 2005 to 2019

此生再无相见时 提交于 2020-08-10 18:52:00
问题 In the company where I work I have SSRS, SSIS and SSAS projects done in 2005 and 2008, and at this moment the company has purchased VS 2019, is it possible to migrate ssis packages from 2005 and 2008 to 2019 directly? I can't find anything on the net that is very specific in relation to this matter. Thank you greetings 回答1: Maybe is the answer. If the packages were built using only standard, out of the box, tasks and components and there's no scripting involved, you can run that 2005 package

Start SSIS Package from Script Task “InProcess”

£可爱£侵袭症+ 提交于 2020-08-09 12:00:08
问题 I want to start a child SSIS package from Script Task and do it in scope of main SSIS package execution. Like it is done by SSIS Execute Package Task when you set ExecuteOutOfProcess property equal to false . However, tutorials I have found, starting from Microsoft Docs etc, are creating a new execution. This is equivalent to setting ExecuteOutOfProcess property equal to true . In that case you do not inherit all project configurations, parameters from your current execution instance, and

Start SSIS Package from Script Task “InProcess”

怎甘沉沦 提交于 2020-08-09 11:58:27
问题 I want to start a child SSIS package from Script Task and do it in scope of main SSIS package execution. Like it is done by SSIS Execute Package Task when you set ExecuteOutOfProcess property equal to false . However, tutorials I have found, starting from Microsoft Docs etc, are creating a new execution. This is equivalent to setting ExecuteOutOfProcess property equal to true . In that case you do not inherit all project configurations, parameters from your current execution instance, and

Start SSIS Package from Script Task “InProcess”

人盡茶涼 提交于 2020-08-09 11:58:04
问题 I want to start a child SSIS package from Script Task and do it in scope of main SSIS package execution. Like it is done by SSIS Execute Package Task when you set ExecuteOutOfProcess property equal to false . However, tutorials I have found, starting from Microsoft Docs etc, are creating a new execution. This is equivalent to setting ExecuteOutOfProcess property equal to true . In that case you do not inherit all project configurations, parameters from your current execution instance, and

Can SSIS jobs be async?

无人久伴 提交于 2020-08-08 02:08:22
问题 I'm a bit confused on whether the async methods work properly with an SSIS job or not. The Script Task items create a visual studio project that targets .NET Framework 4.5, with an output type of Class Library. If I make the main method public async void Main() and inside it do await calls against async methods, is it really waiting? Some of the posts I've seen here imply it does, and others imply it does not. 回答1: Unfortunately, SSIS Framework and base .Net classes were created well before

querying ssisdb to find the name of packages

血红的双手。 提交于 2020-07-18 12:35:09
问题 i was querying the ssis catlog to find out the name of all the packages in the catalog. There are only 6 packages in the Folder1 project,but the query gives 9 records 1. SELECT P.NAME FROM SSISDB.internal.projects PRJ INNER JOIN SSISDB.internal.packages P ON P.project_version_lsn=PRJ.object_version_lsn WHERE PRJ.NAME='Folder1' Does it show the deleted packages from the project as well. 回答1: They aren't deleted, that's part of the historical tracking. You likely wanted a query more similar to

querying ssisdb to find the name of packages

强颜欢笑 提交于 2020-07-18 12:34:52
问题 i was querying the ssis catlog to find out the name of all the packages in the catalog. There are only 6 packages in the Folder1 project,but the query gives 9 records 1. SELECT P.NAME FROM SSISDB.internal.projects PRJ INNER JOIN SSISDB.internal.packages P ON P.project_version_lsn=PRJ.object_version_lsn WHERE PRJ.NAME='Folder1' Does it show the deleted packages from the project as well. 回答1: They aren't deleted, that's part of the historical tracking. You likely wanted a query more similar to

How can I manually fail a package in Integration Services?

强颜欢笑 提交于 2020-07-18 08:49:09
问题 I am running an Execute SQL Task statement in my SSIS package. The Execute SQL Task is running sql and checking that the tables have more than 1000 rows. If they have less than 1000 rows, I want to fail the package. How do I force a fail inside of a SQL statement? 回答1: AFAIK, tasks in SSIS fail on error. So if your Execute SQL Task has a statment like so in it: declare @count int select @count = select count(*) from my_table if @count < 1000 begin raiserror('Too few rows in my_table',16,1)

SSIS File System Task Error while copying files between servers

无人久伴 提交于 2020-07-08 04:16:18
问题 I can copy files between two servers say Server A and Server B manually and I have permissions to folders on either side. I am using File System Task to Copy files. When my Source and Destination are within the Server the Package works fine in visual studio as well as SSISDB. When my Source and Destination are in different Servers the Package works fine in visual studio but package fails in SSISDB. It is saying access is denied. My Account is mapped to SSISDB. Any idea to solve this issue.

How Can I Specify Credentials for Simple Authentication in SSIS SMTP Connection Manager?

这一生的挚爱 提交于 2020-07-06 11:53:17
问题 We have several asp.net web apps that send emails, and the MailMessage object is configured with an SMTP server, username and password. The emails are sent with no problems. In an SSIS package, I added an SMTP connection manager, and I configured the smtp server. I set UseWindowsAuthentication=True because I don't see where I type in username/password. When I run the package from SQL Server Agent , the SSIS sends the email correctly, so apparently, the user/password is not needed. So how can