How do I convert the ErrorCode and ErrorColumn in SSIS to the error message and column name?

Error message list is in the following location: MSDN, Integration Services Error and Message Reference https://learn.microsoft.com/en-us/sql/integration-services/integration-services-error-and-message-reference?view=sql-server-ver15 And column Id Number can be found in SSIS’s Data Flow Task: select the task component that generates the error, Advanced Editor, ‘Input and Output Properties’ tab, External Columns Properties.

What is a staging table?

staging tables are just database tables containing your business data in some form or other. Staging is the process of preparing your business data, usually taken from some business application. For your average BI system you have to prepare the data before loading it. A staging table is essentially just a temporary table containing the … Read more

SSIS SQL Task – “Parameter name is unrecognized”

The answer to this is to change the Parameter Name value in the Parameter Mapping screen. Given the following query SELECT Id, AnimalName FROM dbo.Farm WHERE Farm_id = ? Assuming my Parameter is an integer Variable named User::Farm_id Choose the following values on the Parameter Mapping Screen Variable Name – User::Farm_id Direction – Input Data … Read more

SSIS how to set connection string dynamically from a config file

First add a variable to your SSIS package (Package Scope) – I used FileName, OleRootFilePath, OleProperties, OleProvider. The type for each variable is “string”. Then I create a Configuration file (Select each variable – value) – populate the values in the configuration file – Eg: for OleProperties – Microsoft.ACE.OLEDB.12.0; for OleProperties – Excel 8.0;HDR=, OleRootFilePath … Read more

How to create a temporary table in SSIS control flow task and then use it in data flow task?

Solution: Set the property RetainSameConnection on the Connection Manager to True so that temporary table created in one Control Flow task can be retained in another task. Here is a sample SSIS package written in SSIS 2008 R2 that illustrates using temporary tables. Walkthrough: Create a stored procedure that will create a temporary table named … Read more

How do I edit SSIS package files?

From Business Intelligence Studio: File->New Project->Integration Services Project Now in solution explorer there is a SSIS Packages folder, right click it and select “Add Existing Package”, and there will be a drop down that can be changed to File System, and the very bottom box allows you to browse to the file. Note that this … Read more

Microsoft.ACE.OLEDB.12.0 is not registered

Summarized: INSTALL 32 bit version of Microsoft Access Database Engine 2010 Redistributable. Uninstall 64 bit version if previously installed. http://www.microsoft.com/en-us/download/details.aspx?id=13255 The Excel connection manager is trying to use the ACE OLE DB provider in order to access the Excel file when the version is above 2007 (xlsx). Although your box is 64-bit, you’re using SQL … Read more

What is the SSIS package and what does it do?

For Latest Info About SSIS > https://learn.microsoft.com/en-us/sql/integration-services/sql-server-integration-services From the above referenced site: Microsoft Integration Services is a platform for building enterprise-level data integration and data transformations solutions. Use Integration Services to solve complex business problems by copying or downloading files, loading data warehouses, cleansing and mining data, and managing SQL Server objects and data. Integration … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)