• subscribe
March 28, 2008 12:00 AM

Data-Type Conflicts

SQL Server Pro
InstantDoc ID #98171

The runtime error I find most common and frustrating to deal with are data-type conflicts when running SSIS packages. I make it a practice to establish a compatible data type to the destination(s) early in the pipeline. If I’m reading data from a database source such as SQL Server, I can often establish a matching destination data type in the extract query by using the CAST command. If doing so isn’t feasible, you can use the Show Advanced Editor menu option by right-clicking the Data Flow component, which will let you edit the object’s properties. After opening the advanced editor, click the Input and Output Properties tab, expand the OLE DB Source Output level in the tree hierarchy, then expand Output Columns. Click the name of the output column of interest and note or modify the data type and length.



ARTICLE TOOLS

Comments
  • meganbearly
    4 years ago
    Apr 29, 2008

    Hi LamNguyen,

    We appreciate your feedback. At SQL Server Magazine, we do keep reader's comments in mind when planning future content.

    Thanks!

    Megan Bearly
    Associate Editor, SQL Server Magazine
    mbearly@sqlmag.com

  • LAM
    4 years ago
    Apr 25, 2008

    It's more useful if you can show us how to do it in each step by step instead of saying "Checkpoint aren't enabled by default" or how people how to turn on the switch and test the elements you just mentioned.

You must log on before posting a comment.

Are you a new visitor? Register Here