我正在使用Visual Studio 2015和BIML Express。
我的脚本有一个相当简单的数据流任务:
<Dataflow Name="Sync Table Währungen">
<PrecedenceConstraints>
<Inputs>
<Input OutputPathName="Truncate Währungen.Output" />
</Inputs>
</PrecedenceConstraints>
<Transformations>
<OleDbSource Name="Währungen Source" ConnectionName="Source">
<ExternalTableInput Table="[dbo].[Währungen]" />
</OleDbSource>
<OleDbDestination Name="Währungen Destination" ConnectionName="Destination" CheckConstraints="false" KeepIdentity="true" KeepNulls="true">
<ExternalTableOutput Table="[dbo].[Währungen]" />
</OleDbDestination>
</Transformations>
</Dataflow>
Package的生成失败并出现错误:
Expanding Biml
1/1 Emitting Project Sync.dtproj.
1/1 Emitting Package Sync.
Error 0 FlowFramework, Version=5.0.61915.0, Culture=neutral, PublicKeyToken=015f370a62f9a1a3. Node W�hrungen Source: Could not execute Query on Connection BADSQLOLTPTEST\OLTPTEST.Zentrale:
SELECT * FROM [dbo].[W�hrungen]
Die verzögerte Bereitstellung konnte nicht beendet werden.
Statement(s) could not be prepared.
Invalid object name 'dbo.W�hrungen'. -1 -1
使用没有特殊字符的表名会生成包。
如何更改脚本以使用变音符号?
答案 0 :(得分:1)
那么!所以这是一个有趣的小挑战......
事实证明,您可以将Biml脚本中的字符替换为HTML Entity等效字符(可能还有其他字符,但我还没有检查过)。这意味着,在您的情况下,您可以使用ä
替换ä
字符,一切都应该有效。