ssis

SQL Server 2016 SSIS get cursor from stored procedure

纵饮孤独 提交于 2020-01-06 19:30:06
问题 I am using SQL Server 2016. I have a stored procedure GET_RECORDS that takes input parameters for filter and outputs a CURSOR parameter I want to get this cursor in my SSIS package I had created data flow task, OleDb source and variables for parameter values. Then mapped parameters Params mapping screen but when I wanted to save the component - I got an error error screen I tried to add clause WITH RESULT SETS with some dummy columns, but my procedure doesn't return any result set What am I

How to parse a date from an SSIS Excel filename

六月ゝ 毕业季﹏ 提交于 2020-01-06 18:09:01
问题 I want to use the foreach container to iterate through a folder matching something like: "Filename_MMYYYY.xls". That's easy enough to do; but I can't seem to find a way to parse the MMYYYY from the filename and add it to a variable (or something) that i can use as a lookup field for my DimDate table. It seems possible with a flat file data source, but not an excel connection. I'm using Visual Studio 2005. Please help! 回答1: Do I understand correctly that you want to take your filename,

How to parse a date from an SSIS Excel filename

末鹿安然 提交于 2020-01-06 18:08:49
问题 I want to use the foreach container to iterate through a folder matching something like: "Filename_MMYYYY.xls". That's easy enough to do; but I can't seem to find a way to parse the MMYYYY from the filename and add it to a variable (or something) that i can use as a lookup field for my DimDate table. It seems possible with a flat file data source, but not an excel connection. I'm using Visual Studio 2005. Please help! 回答1: Do I understand correctly that you want to take your filename,

Installation wizard shows its success , however, SSIS Package is not getting installed

喜欢而已 提交于 2020-01-06 17:48:01
问题 I have both SQL Server 2008 R2 and 2012 both installed on same server. My SSIS package is developed by BI studio 2008 R2. I have created package manifest file for the installation. As both SQL Server 2008 R2 and 2012 installed, when I run command: H:\>where dtsinstall.exe it returns these 3 details: C:\Program Files\Microsoft SQL Server\100\DTS\Binn\dtsinstall.exe C:\Program Files (x86)\Microsoft SQL Server\100\DTS\Binn\dtsinstall.exe C:\Program Files (x86)\Microsoft SQL Server\110\DTS\Binn

Installation wizard shows its success , however, SSIS Package is not getting installed

烂漫一生 提交于 2020-01-06 17:46:33
问题 I have both SQL Server 2008 R2 and 2012 both installed on same server. My SSIS package is developed by BI studio 2008 R2. I have created package manifest file for the installation. As both SQL Server 2008 R2 and 2012 installed, when I run command: H:\>where dtsinstall.exe it returns these 3 details: C:\Program Files\Microsoft SQL Server\100\DTS\Binn\dtsinstall.exe C:\Program Files (x86)\Microsoft SQL Server\100\DTS\Binn\dtsinstall.exe C:\Program Files (x86)\Microsoft SQL Server\110\DTS\Binn

Using a Console App to Extract a data from sharepoint list

痴心易碎 提交于 2020-01-06 14:38:27
问题 I have been searching for hours about the best way to do this and all I find is massively conflicting information and im at the point of breaking down. I have a sharepoint 2013 site which naturally has a list on. I wish to connect to this list and extract the information into a data table. shouldn't be that hard should it... So options I have tried, I was originally planning on ssis to pull the information and transform it prior to its final destination. There is a great little adapter

New Excel file with different format want to import data to sql table using ssis

家住魔仙堡 提交于 2020-01-06 14:16:12
问题 this is my file please tell me how can I insert date and price cell C4 and C21 into table please help I took excel source and sets OpenRowSet property to SHEET$C4:C21` but which is giving me only one column and invalid data also please help. 回答1: You may achieve this using a script task in your package. But consider using SSRS instead. I think this is what SSRS made for. With SSRS you can make a report using BIDS or also you can create a local report with Visual Studio inside of an (e.g.) ASP

SSIS; row redirected to error even after inserting to DB

夙愿已清 提交于 2020-01-06 13:58:41
问题 I have a SSIS package to insert/update rows to Database. First i use look up for checking if row already inserted to DB;If yes i update that row, else insert as new row. My problem is when inserting , a row is inserted successfully but also redirected to error. How both can happen at same time? That too it happens some times not always - very inconsistent. How to track what caused the error ? I used "redirect row" here to get failed rows. This happens only when it deployed on server.On

How to insert/update rows from MySQL to SQL Server by using SSIS

那年仲夏 提交于 2020-01-06 08:27:12
问题 I'm looking for the best practice to insert or update rows from a MySQL connection to a SQL Server connection. First of all, I added a ADO.NET data source to grab MySQL content (a simple table Supplier with two fields id and name). Then, I added a Lookup transformation to split new rows / updated rows. It works well when I need to insert new rows. However, I would like to use a Command OLE DB to update existing rows but It doesn't work due to a incompatibility between my connection manager

What are the options for extracting data out of Hyperion 7.3 with SSIS?

Deadly 提交于 2020-01-06 07:58:08
问题 We need to get data out of some Hyperion cubes (databases) using SSIS. Are there any connection managers available for this? Has anyone done this? 回答1: There are some third party connectors out there. Don't think any exist from oracle or microsoft. 回答2: I know this is a very old question but I just happened upon it and thought I would offer some perspective. There isn't build in support for getting data from Hyperion with SSIS. There are a few ways to go, however. You can fairly easily export