Knowledge.ToString()

Category: SSIS

  • SSIS – How to Find If Attunity 32 Bits or 64 Bits Drivers Are Used

    Here is a simple flowchart to find out if the Attunity 32-bit or 64-bit drivers are going to be used when executing SSIS package. Please note that the answer does not depend on the if the database engine is 32-bit or 64-bit. Are you running SSIS from Visual Studio? If yes, then check if SSIS…

    |

  • SSIS Oracle Error Solution: ORA-01406: Fetched Column Value Was Truncated

    I was modifying an SSIS package in which I was fetching data from Oracle source using Attunity. The query was complex and using multiple CTEs to fetch data. As soon as I added new query in Oracle Source and remapped the columns in the destination object, everything looked good at design time but when I…

    |

  • SSIS – Two Ways to Add New Line Character (CRLF) to the Fixed Width Flat File

    In SSIS package, if you create a fixed width flat file, SSIS does NOT add new line character (CRLF) at the end of the row. So when you run the package, all the data are stored in one single line in the flat file. Add CRLF Column to Destination You need to add additional column…

    |

  • SSIS – How to Create a New Line Character (CRLF) Column as Derived Column

    Use the following expression in order to create a derived column By default Data Type of string “\r\n” is DT_WSTR so here I am casting the data type to DT_STR

    |

  • How to Fix: “MSORA” is not recognized as a valid connection manager type

    Error The connection type “MSORA” specified for connection manager “” is not recognized as a valid connection manager type. This is the most dreaded error while working with Oracle and Attunity and could not find why it would not work even after installing everything that is needed. Edit: Updated for Attunity 4.0 and 5.0 based…

    |

  • Execute Package Task Fails Even Though the Package Executed Successfully

    We have parent and child SSIS packages. Both the packages were using environment variable configuration and sql configuration to get the further configuration property. Sql authentication and package protection level is set to “EncryptSensitiveWithUserKey” for parent and child packages. Both the packages run as expected in development environment. When we moved packages to QA, even…

    |

  • The Value Violated the Integrity Constraints for the Column

    SSIS Package Error You are using SSIS package to load data into SQL table and suddenly you get the error “The value violated the integrity constraints for the column”. It does not give enough information of why the error occurred. Root Cause for Error SQL Server has following integrity constraints Primary Key Foreign Key Not…

    |

  • Improve Attunity Driver Performance When Extracting Millions of Rows From Oracle

    If you are extracting data from Oracle, Attunity driver helps you extract it faster. But if you are extracting millions of rows from Oracle and you think it is slower than anticipated, here are few tips. These advanced tips will help you drastically improve the performance. Advanced Tips to Improve Performance Right click on Oracle…

    |

  • How Cancelling the DTEXEC (or Any Other Executable) From Command Prompt/Automic UC4 Works

    When we start executing the SSIS package using DTEXEC from command prompt/Automic UC4, it creates an individual process DTEXEC which runs on its own. You can see that process in Task Manager. When you cancel the job from command prompt using Ctrl+C or cancel it  from Automic UC4, it sends the SIGINT (interruption) signal to…

    |

  • Stop DTS Package Execution Conditionally Without Failure

    There is no straight way in DTS to stop the package on a certain condition without having it fail. Suppose in DTS package is suppose to be executed everyday at 8:00AM. This package is looking for a file c:\abc.txt. If the file has not arrived, it should gracefully stop without reporting any error. If the…

    |