我正在尝试使用带有 BID 的 BIML 和 Visual Studio 2008 创建一个 FuzzyLookup 对象。
以下代码出错并且无法编译并出现错误“无法解析对 dbo.JuniorSurveyResponses 的引用”。对象 dbo.JuniorSurveyResponses 存在,我拥有正确的权限。
如果我删除 FuzzyLookup 创建代码的其余部分编译没有错误。这段代码实际上来自https://www.varigence.com/Documentation/Samples/Biml/Fuzzy+Lookup。
关于错误的任何想法?
<Biml xmlns="http://schemas.varigence.com/biml.xsd">
<Connections>
<OleDbConnection Name="SportsData" ConnectionString="Provider=SQLNCLI10;Server=myServer;Initial Catalog=myCatalog;Integrated Security=SSPI;" DelayValidation="true" />
</Connections>
<Packages>
<Package Name="My Package" ConstraintMode="Linear">
<Tasks>
<Dataflow Name="My Dataflow Task">
<Transformations>
<OleDbSource Name="SurveyResponses" ConnectionName="SportsData">
<DirectInput>select * from SurveyResponses</DirectInput>
</OleDbSource>
<!-- Performs a fuzzy lookup on the Attribute column against the JuniorSurveyResponse DB, and outputs the corresponding Response column to NewResponse. -->
<FuzzyLookup Name="Fuzzy Lookup Transformation" ConnectionName="SportsData" Exhaustive="true" >
<ReferenceTableInput TableName="dbo.JuniorSurveyResponses" />
<Inputs>
<Column SourceColumn="Attribute" TargetColumn="Attribute" />
</Inputs>
<Outputs>
<Column SourceColumn="Response" TargetColumn="NewReponse" />
</Outputs>
<InputPath OutputPathName="SurveyResponses.Output" />
</FuzzyLookup>
<FlatFileDestination Name="OutputFile" ConnectionName="FlatFileConnection" Overwrite="true" />
</Transformations>
</Dataflow>
</Tasks>
</Package>
</Packages>
</Biml>