ssis

can not access sql server developer sp1 ssis from ssms

前提是你 提交于 2020-01-05 07:03:10
问题 I am installing Sql server 2016 Sp1 developer on Azure VM Windows 2012 R2 datacenter. The database engine and analysis service (SSAS) are working proerpty however integration service (SSIS) is inaccessible even the service is running. The services are running: but I could not login from SSMS (run as Administrator). The message error is "The specified service does not exist as an installed service": 回答1: On SQL2005, SSIS service doesn't do much - are you sure you need it? This https://social

XML from webservice to SQL Server using SSIS

喜夏-厌秋 提交于 2020-01-05 07:01:48
问题 I have a web service task that saves the XML output to a variable. The question now is what would the variable type be? Also how can I then transfer the XML variable to the SQL Server database? I can't seem to make the data flow work, XML source to ole db source? Am I on the right path? thanks <xs:element name="Table"> <xs:complexType> <xs:sequence> <xs:element name="FlightDate" type="xs:dateTime" minOccurs="0"/> <xs:element name="FlightNo" type="xs:string" minOccurs="0"/> </xs:sequence> </xs

Sql Agent Job SSIS Package Parameter value with curly brace causes error with SqlManager UI

会有一股神秘感。 提交于 2020-01-05 05:51:09
问题 I have a SSIS package deployed to the SSISDB catalog. The package is configurable with parameters for values such as FTP details. I have noticed that attempting to create a SQL agent job for this package fails when any of the parameter values contains a left curly brace { Unfortunately, one of the password parameters contains a left curly brace. The question is: without resorting to replacing place holders for that character in the actual package (feels dirty), can this character be escaped

SSIS OPENROWSET query flat file

只谈情不闲聊 提交于 2020-01-05 05:31:10
问题 I currently have a variable name called InvoiceFileName that is creating .csv files through a foreach loop. A list of .csv is then outputted to a folder. I will then need to query off of each .csv file to select the header and the first row of data for each .csv. I believe I need to use the OPENROWSET to query off of the .csv. I have 2 questions. What is the syntax to query off of the variable name InvoiceFileName. Is it possible to select the header field and first row of data OPENROWSET

How can I dynamically set the location of an Execute Package Task in SSIS

浪子不回头ぞ 提交于 2020-01-05 05:26:08
问题 I'm trying to set up a 'master' SSIS Package in SQL Server 2008 to run other 'child' packages. When developing the 'child' packages we have all the packages sitting on disk so we can easily debug them, so we use file connectors during development and can monitor the progress nicely. When we deploy, we deploy the child packages to SSIS on SQL Server and then go through and change all the Execute Package Task's to use a location value of 'SQL Server' and set the PackageName. Once done, we

How process JSON data that needs to be unpivoted?

核能气质少年 提交于 2020-01-05 04:55:57
问题 I have a JSON source that has a weird layout where there are unknown amount of columns. https://theunitedstates.io/congress-legislators/committee-membership-current.json The format is like the following: ColumnHeaders => HLAG HSAG HSAG01 .... to unknown Single row of Data JSON JSON JSON How can I get the data like this: Col1 Col2 HLAG JSON HSAG JSON HSAG01 JSON I am currently working in SSIS so I have C# solutions available to me. I just don't know how to deal with unknown columns in SSIS.

Converting Stored Procedures to SSIS packages

家住魔仙堡 提交于 2020-01-05 04:37:13
问题 We require to convert a list of SPs to SSIS packages. Most of the SPs do the below steps: create a table and insert data into that using 'SELECT INTO' statement, which has many joins. Update the table - this also has many joins. Create indexes on the created tables. What approach should we use here? Since there is no ETL in the SP, we converted each set of statements to one Execute SQL task. Is this the right approach? What we can do to improve the performance of the packages? There are SPs

SSIS 2005 - How to Import a Fixed Width Flat File?

☆樱花仙子☆ 提交于 2020-01-05 04:33:10
问题 I have a flat file that looks something like this: junk I don't care about \n \n columns names\n val1 val2 val3\n val1 val2 val3\n columns names \n val1 val2 val3\n I only care the lines with values. These value lines are all fixed width format and have the same line length. The other junk lines and column names can have any line width. When I try the flat file fixed width option or the ragged right option the preview looks all wrong. Any ideas what the easiest way to get this into SSIS is?

SSIS Script Component won't allow text Stream Output

谁说我不能喝 提交于 2020-01-05 04:22:14
问题 I'm trying to import JSON files into my DB using SSIS. Since I'm on SQL Server 2016 I can bring the files in a single row and read them using OPENJSON. My issue is don't want to just bring in the JSON text. I also want need to get some information from the filename and current directory. My script component looks something like this: public override void Input0_ProcessInputRow(Input0Buffer Row) { string type = "NA"; string ChassisSN = "NA"; string CartridgeSN = "NA"; string filepath =

SSIS package fails on file.delete of script task

只谈情不闲聊 提交于 2020-01-05 04:15:11
问题 I have an SSIS package , zip.dtsx. This package successfully runs on serverA. I copied this package in serverB. However, when I try to run zip.dtsx on serverB, it fails. zip.dtsx just reads a file in a source folder, compresses it, saves the compressed file to a different folder, then deletes the original file in the source folder. After some investigation, I figured out that if I comment out the part in the C# script task that deletes the file in the source folder. The package runs