ssis-2012

Ignore duplicate records in SSIS' OLE DB destination

微笑、不失礼 提交于 2019-12-22 10:01:18
问题 I'm using a OLE DB Destination to populate a table with value from a webservice. The package will be scheduled to run in the early AM for the prior day's activity. However, if this fails, the package can be executed manually. My concern is if the operator chooses a date range that over-laps existing data, the whole package will fail (verified). I would like it: INSERT the missing values (works as expected if no duplicates) ignore the duplicates; not cause the package to fail; raise an

Access Database engine OLEDB in windows server 2016

柔情痞子 提交于 2019-12-22 09:21:48
问题 I have an application that uses Microsoft ACE OLEDB 12.0 driver and hence I have installed 2007 Office System Driver: Data Connectivity Components in my system. I also have created SSIS packages to pull data from the excel and csv files which get's inserted into the SQL tables using the Microsoft ACE OLEDB 12.0. Below is my connection string Provider=Microsoft.ACE.OLEDB.12.0;Data Source=c:\myFolder\myOldExcelFile.xls; Extended Properties="Excel 8.0;HDR=YES"; I wanted to move these

Unable to fetch “ReadWrite” Variable Value in Script Component of SSIS

微笑、不失礼 提交于 2019-12-22 08:03:23
问题 In Script Component [Input0_ProcessInputRow], i am trying to fetch "ReadWrite" global variable value and it throws below error. ERROR: The collection of variables locked for read and write access is not available outside of PostExecute. Below is my code If Row.Column13 = "C" Then Variables.mTotalCreditCount = Variables.mTotalCreditCount - 1 Variables.mTotalCreditAmount = Variables.mTotalCreditAmount - CDbl(Row.Column14) ElseIf Row.Column13 = "D" Then Variables.mTotalDebitCount = Variables

Is it possible to deploy SSIS 2012 package on SQL Server 2008

耗尽温柔 提交于 2019-12-18 07:29:12
问题 I have a package that is developed in SSIS 2012 using Visual Studio 2010. Is it possible to deploy/attach this package on SQL Server 2008 If it is possible, does the licence of the sql server matter 回答1: no, you cant. SSIS package are not backwards compatible. Also it doesn't make much sense if you think about it. If it was the other way around, "maybe" it could be done because 2012 would somehow be aware of 2008 structure, but 2008 engine isn't aware of 2012 package structure. 回答2: You

SSIS parametrize connection strings

安稳与你 提交于 2019-12-18 07:18:07
问题 I am trying to set up deployment process for single package usinig project deployment so VS2012. I found that to change dynamicaly connection string on the server I can parametrize connections so I did this and created enviroments and I run my package with inviroment which has connnections strings as parameters and all seems to be fine, but why on connection manager I can still see some old setup made while developing? How can I remove it ? 回答1: By Parameterize, I assume you're using the

SSIS parametrize connection strings

六眼飞鱼酱① 提交于 2019-12-18 07:18:03
问题 I am trying to set up deployment process for single package usinig project deployment so VS2012. I found that to change dynamicaly connection string on the server I can parametrize connections so I did this and created enviroments and I run my package with inviroment which has connnections strings as parameters and all seems to be fine, but why on connection manager I can still see some old setup made while developing? How can I remove it ? 回答1: By Parameterize, I assume you're using the

SSIS Package Not Running as 32bit in SQL Server 2012

百般思念 提交于 2019-12-17 13:59:46
问题 I have a package that I developed in VS2012 (using the SQL Data Tools component) which collects data from a DBF file using the VFPOLEDB provider, and puts it into a database on a SQL Server 2012 X64 server. The project containing the package has the DebugOption of Run64BitRuntime set to false. I have imported this package to the SSIS Package Store of a test and live server (identical setups). The VFPOLEDB provider is installed on both, and I can see in the registry of both machines that it's

Automate Version number Retrieval from .Dtsx files

早过忘川 提交于 2019-12-17 06:53:42
问题 Is there a way or query by which I can find the version number of SSIS packages (*.dtsx files)? I have the *.dtsx files in my Team Foundation Server for which I wanted to know. The manual way is to do a mouse right-click on the package and click Compare to see the VersionBuild but there are like thousands of packages so doing it manually is really not possible Note: The process should be automated, not manual 回答1: Getting values within dtsx packages If you are trying to read a package version

SSIS 64 bit vs 32 bit

牧云@^-^@ 提交于 2019-12-14 03:25:53
问题 I am developing an SSIS package in VS 2012 that is being deployed to SQL Server 2012. The package is pulling data from an external database with a 32 bit driver and loading it into SQL Server 2012. I have the package set up so that it is using project parameters to store the connection strings. I can run the package from VS and I can also run the package via 32 bit dtexec. I cannot run the package from the SQL agent. I have the job set up so that it is using a ssis proxy account. I have also

conditional logic in BIML

时光怂恿深爱的人放手 提交于 2019-12-13 20:48:04
问题 Conditional logic not working on my query. So referring to the above query I have a unique constraint on the table checks for same values of version and revision number it errors out id the values are same this is good but I have to write a conditional logic saying that whenever there is a error message in the varaible ex.Message then the code should not execute and ask for reloading of package.I have a problem in my conditional logic saying that it couldn't find ex.Message how do i make it