Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>All of the SSIS packages I currently work with (SSIS 2008) store Script Component code directly within the .dtsx file (these are just XML files). That said, you could use a text diff tool (Visual Studio Compare, WinMerge, BIDS Helper Smart Diff) to compare the .dtsx files. While that may not be the cleanest way to do it, it does allow you to see the difference between versions.</p> <p>Below is a snippet that I pulled directly from a .dtsx file with a Script Component (C# is stored as CDATA):</p> <pre><code>&lt;component id="4829" name="ExecuteQuery" componentClassID="{2E42D45B-F83C-400F-8D77-61DDE6A7DF29}" description="Executes a custom script." localeId="-1" usesDispositions="false" validateExternalMetadata="True" version="4" pipelineVersion="0" contactInfo="Executes a custom script.;Microsoft Corporation; Microsoft SqlServer v10; © 2007 Microsoft Corporation; All Rights Reserved; http://www.microsoft.com/sql/support;4"&gt; &lt;properties&gt; &lt;property id="4833" name="SourceCode" dataType="System.String" state="cdata" isArray="true" description="Stores the source code of the component" typeConverter="" UITypeEditor="" containsID="false" expressionType="None"&gt;&lt;arrayElements arrayElementCount="18"&gt;&lt;arrayElement dataType="System.String"&gt;&lt;![CDATA[\main.cs]]&gt;&lt;/arrayElement&gt;&lt;arrayElement dataType="System.String"&gt;&lt;![CDATA[/* Microsoft SQL Server Integration Services Script Component * Write scripts using Microsoft Visual C# 2008. * ScriptMain is the entry point class of the script.*/ using System; using System.Data; using Microsoft.SqlServer.Dts.Pipeline.Wrapper; using Microsoft.SqlServer.Dts.Runtime.Wrapper; using Teradata.Client.Provider; [Microsoft.SqlServer.Dts.Pipeline.SSISScriptComponentEntryPointAttribute] public class ScriptMain : UserComponent { private TdConnection tdCn; private TdCommand tdCmd; private TdDataReader tdRdr; </code></pre>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload