Optimizing SQL query
Hi Guys,Anyone with good videos and links on how best to optimize an sql query. I have a complex query that I need to improve performance on and I need a resource to guide me on it. me
View ArticleHow to remove unwanted quotes in the data
Hi All,I have a package that loads the data from flat file to a sql server table . It is failing on a column name. I opened in notepad++ and went to the row number and saw that the address has quotes...
View ArticleChange string 111222333 into 111-222-333
Hi,I want solution in SSIS, for below query.In my source table for column "Contact" data is 111222333 (Varchar data type).I want change that string into destination "Contact" column as...
View ArticleSSIS Package - Loop through multiple data sources.
We have a SSIS package that pulls data from multiple data sources. So, the ssis package has Execute SQL task that feeds the list of SQL Servers to be used a data sources.The second step is For Each...
View ArticleCannot deploy SSIS project to the new SSISDB get error message
I recive the following error message trying to deploy a SSIS project from VS2010 to SQL SERVER 2012.A .NET Framework error occurred during execution of user-defined routine or aggregate...
View ArticleSSIS Frequently logging error to application event log: .NET Runtime version...
The SSIS 2016 service (MsDtsSrvr.exe) is causing the error detailed below to be logged in the server's application log every 5-10 seconds. I have been unable to figure out what the actual issue is and...
View ArticleSSIS Using parameters
Steps required to establish environment variables and deploy package from Visual Studio.
View ArticleSSIS: When set the task to ignore errors, don't log the errors
Hello there. Ignoring any discussion of 'coding it right in the first place' (I have my reasons)….I have an SSIS package that loops through a task and sometimes it fails and other times it doesn't....
View ArticleRetrieve names of files in a subfolder of a Sharepoint document library
Hi all,I'm trying to make a dtsx package to read some Excel files from a Sharepoint document library. This library has some folders inside. I have to read only files in one of these folders. I...
View ArticleIssue using Merge Join transformation after an aggregate transformation -...
Hi,I've implemented a SSIS 2017 package having a merge transformation and an aggregate transformation.In the aggregate transformation I've specified a group by operation for a DT_WSTR code and a count...
View ArticleHow to check the Product Cost based on the order Date
Greeting I'm working with a Sales Database, in the sales tables, I have a column where there is the Product Cost, the issue here that the product cost changed upon the time, the Data of the product...
View ArticleSSIS Catalog deployment not creating certificates
I am having a problem with a SSIS Project in the SSIS Catalog. When I schedule the package to run, I get an "Unexpected Termination" error.If I look in the event viewer, I get the following error: The...
View ArticleLoad data to .txt file with a defined column position
Hi guys,I am creating an SSIS package that loads data from MSSQL table into a text file. One of the requirement is for the size and position of the data in each column in the text file to be the...
View ArticleSSIS package unexpected Termination Issue
Hi ,We are facing the issue called - unexpected Termination . We are using the below mentioned SQL Server : Microsoft SQL Server 2016 (RTM) - 13.0.1601.5 (X64) Apr 29 2016 23:23:58 Copyright (c)...
View ArticleGenerate sql query from script task and store it in a variable
Hi All,I am using below sql query to read data from a json file and load data into table. I am using Execute SQL task to execute the query. I want the file path to be stored in a variable. How can i do...
View ArticleGenerate sql query from script task and store it in a variable
Hi All,I am using below sql query to read data from a json file and load data into table. I am using Execute SQL task to execute the query. I want the file...
View ArticleSSDT - Execute SQL task Build Query login failed
Hello, I have problem execute sql task. when click on BUILD QUERY, show login failed.I have no problem to use connection manager to login to the database connection. the error is only when click on...
View ArticleHow to compare header of csv file with table column values
Hi I have a csv file with the columns as below. The column names and order of columns can be changed.DeptID|Dname|Loc or DeptName|Dept_id|Location or Loc_ID|Dept_ID1. I got a requirement that if the...
View Article