ssis-2012

SSIS multiple table loads

不羁岁月 提交于 2019-12-11 19:17:34
问题 I am learning SSIS for the first time. I am trying to load multiple tables from my staging database to multiple tables in the data warehouse. My staging database is nothing but a database with all the tables from all my source databases copied to it. I found that each data flow task only allows to connect one source table to one destination table. Do I have to use as many data flow tasks as the number of tables I have in my source database? Is there a simple and more efficient way to do this?

How to extract the data from Soap Response in C#

a 夏天 提交于 2019-12-11 16:06:22
问题 Following is a part of the function which i use to extract data from. <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"> <soapenv:Header/> <soapenv:Body> <MP0118_GetGridHeaderData_001_Result xmlns="http://schemas.datastream.net/MP_functions/MP0118_GetGridHeaderData_001_Result"> <GRIDRESULT type="LIST.HEAD_DATA.STORED"> <DATA jsonclass="array"> <ROW id="1"> <D n="6721">10128</D> <D n="6724">CL</D> <D n="6771">*</D> <D n="6773">ACT</D> <D n="6774">PHON</D> <D n="6775"

How to set file source via Parameter in SSIS?

筅森魡賤 提交于 2019-12-11 15:42:26
问题 I have multiple packages for each location site and each site contains 5 other sub sites for which data has to be populated every month. Hence I have approx 20 excel files as a source data for which the excel file acts as a source and I need to create an excel destination. Because of so many excel file as a source I have multiple Excel connection Managers (Source + Destination) across my various packages. The source file name and the location will change everytime and so I was thinking to

Deletion of record from Microsoft CRM Based on three fields(KINGSWAYSOFT)

你。 提交于 2019-12-11 15:18:34
问题 I have flatfile source and dynamics crm destination.I have to delete a record from CRM based on Title(text), Startdate(text) and userid(lookup field in CRM) which is given as input from flatfile.Can you suggest how can I achieve this. Thanks 回答1: You can take a look at our Premium Lookup component in the SSIS Productivity Pack, which allows you to perform a lookup against your CRM source. The Premium Lookup component takes two inputs - Primary Input and Lookup Table Input . In your case, you

Issue while loading date parameter in DB2 query in ssis

删除回忆录丶 提交于 2019-12-11 08:54:49
问题 I have a DB2 query that takes date parameter as input. for some reason, it throws error saying Numeric Value out of range . Date value - 2018-05-21 17:33:56.2463440 little bit of query - Snapshot from SSIS " SELECT LPAD(i.abc, 13, '0') AS abc, LPAD(i.abc,9,'0') AS abc, b.abc, i.abc, i.abc, i.abc, i.abc, i.abc, i.abc, i.abc, i.abc, sd.abc FROM abc.abci LEFT OUTER JOIN abc.abc b ON i.abc= b.abc, abc.abc f INNER JOIN abc.abc v ON i.abc= v.abc ,abc.abc md, abc.abc sd WHERE i.abc= 'A' AND i.abc=

SSIS 2012 - Variable empty on second script execution

微笑、不失礼 提交于 2019-12-11 02:52:20
问题 I have a script component transformation in a data flow. In this script component I read a table from a object variable. The first record that passes through the script works fine. The variable reads correctly and loads into a list object perfectly. The next record passes into the script something goes wrong. Looking at the variable it reports a Record Count of 44, when it attempts to load into my list I get a rowcount = 0 Below is the script that loads the list List<PublicHoliday>

Loading SSIS Package Programmatically in C#

只愿长相守 提交于 2019-12-10 19:24:36
问题 I'm loading a ssis package from my application which works fine. However, what I'm trying to work out and failing miserably is that the package executes in 1 second (which is great) but the loading of the package takes 9 seconds. Working locally in visual studio 2015 connecting remotely to a SQL Server 2014 instance. The package is being loaded in a business object behind an async web api call from a console application. Heres the code (standard stuff)... Application application = new

How can I loop though columns by name in an SSIS Script component?

ぐ巨炮叔叔 提交于 2019-12-10 18:22:17
问题 I'm loading a pipe delimited flat file into a staging table. During the load process an SSIS script component performs some operations on a row. It may set a flag in one field based on values in another field, add a prefix to certain columns, or apply formatting. For example, if a date is missing, the field is assigned to a default date. (if Row.EndDate_isNull then Row.EndDate = defaultDate) These scripts become cumbersome when the same transformation needs to be applied to a series of rows.

Renaming a file source

不想你离开。 提交于 2019-12-10 17:56:38
问题 I've been developing an SSIS package from a flat file source. The file comes daily and the file name has datetime indication like this: Filename_20190509042908.txt I was wondering how I can pass until the date part; I want the package to read the file dynamically, but it should pass without the last 6 digits I just don't need the last 6 digit numbers as it is not consistent. I want to pass Filename_20190509.txt I have figured out how to take the filename until date removing the time part.

Fill SQL database from a CSV File

生来就可爱ヽ(ⅴ<●) 提交于 2019-12-09 02:27:51
问题 I need to create a database using a CSV file with SSIS. The CSV file includes four columns: I need to use the information of that table to populate the three tables I created in SQL below. I have realized that what I need is to use one column of the Employee Table, EmployeeNumber , and Group Table, GroupID , to populate the EmployeeGroup table. For that, I thought that a Join Merge table is what I needed, but I created the Data Flow Task in SSIS, and the results are the same, no data