SQL Server 2008 BID / BIML を使用しています。あいまい参照変換エディターの [列] タブにある [使用可能な入力列] のチェック ボックスをオンにするにはどうすればよいですか? 列名は inputFile_id です。
この列で照合するつもりはありません。FLT を介して渡すだけです。あいまい参照変換エディターの [列] タブで、inputFile_id の [パス スルー] チェックボックスをオンにするだけです。チェックボックスのスクリーンショットの下にあることを願っています。
<Biml xmlns="http://schemas.varigence.com/biml.xsd">
<Connections>
<OleDbConnection Name="SourceData" ConnectionString="Provider=SQLNCLI10;Server=myServer;Initial Catalog=myCat;Integrated Security=SSPI;" DelayValidation="true" />
</Connections>
<Packages>
<Package Name="_step01_CreateIndex" ConstraintMode="Linear">
<Tasks>
<Dataflow Name="My Dataflow Task">
<Transformations>
<OleDbSource Name="list of people to match to reference list" ConnectionName="SourceData">
<DirectInput>select TOP 1000 inputFile_id, forename, surname from dbo.peopleToMatchInputFile</DirectInput>
</OleDbSource>
<!-- Column names must be the same in dbo.peopleToMatchInputFile AND dbo.referenceListOfPeople. -->
<!-- A column from dbo.peopleToMatchInputFile MUST BE mapped to a column in dbo.referenceListOfPeople. -->
<FuzzyLookup Name="FLT - Generate new index"
MatchIndexOptions="GenerateAndPersistNewIndex"
MatchIndexName="dbo.referenceListOfPeopleINDEX"
ConnectionName="SourceData"
Exhaustive="false" >
<ExternalReferenceTableInput Table="dbo.referenceListOfPeople" />
<Inputs>
<Column SourceColumn="forename" TargetColumn="forename" MatchTypeExact ="false" MinSimilarity ="95" />
<Column SourceColumn="surname" TargetColumn="surname" MatchTypeExact="true" />
<Column SourceColumn="inputFile_id" TargetColumn="inputFile_id" PassThrough="true" IsUsed="false"/>
</Inputs>
<Outputs>
<Column SourceColumn="lookup_id" TargetColumn="lookup_id" />
<Column SourceColumn="forename" TargetColumn="OutputAlias_forename" />
<Column SourceColumn="surname" TargetColumn="surname" IsUsed="false" />
<Column SourceColumn="streetName" TargetColumn="streetName" />
<Column SourceColumn="dependantLocality" TargetColumn="dependantLocality" />
<Column SourceColumn="postalCounty" TargetColumn="postalCounty" />
<Column SourceColumn="postTown" TargetColumn="OutputAlias_postTown" />
</Outputs>
</FuzzyLookup>
</Transformations>
</Dataflow>
</Tasks>
</Package>
</Packages>
</Biml>
<#@ template language="C#" hostspecific="true"#>
<#@ import namespace="System.Data" #>
<#@ import namespace="Varigence.Hadron.CoreLowerer.SchemaManagement" #>
<!--
CREATE TABLE [dbo].[peopleToMatchInputFile](
[inputFile_id] [int] IDENTITY(1,1) NOT NULL,
[forename] [varchar](35) NOT NULL,
[surname] [varchar](35) NOT NULL,
[streetName] [varchar](80) NULL,
[batchNo] [int] NULL
)
CREATE TABLE [dbo].[referenceListOfPeople](
[lookup_id] [int] IDENTITY(1,1) NOT NULL,
[forename] [varchar](35) NOT NULL,
[surname] [varchar](35) NOT NULL,
[streetName] [varchar](80) NULL,
[dependantLocality] [varchar](35) NULL,
[postTown] [varchar](35) NULL,
[postalCounty] [varchar](35) NULL
)
-->