0
剛剛創建了一個數據庫項目並導入了一個大的現有數據庫。我有數百個錯誤主要與不完全限定的對象的模糊引用有關。我怎樣才能解決或抑制這些錯誤,而無需通過我的Visual Studio SQL Server 2008數據庫項目中的數百個文件?如何解決由SQL Server數據庫項目未完全限定的對象的構建錯誤?
這裏是我看到一個錯誤的例子:
SQL03006: View: [dbo].[vwEdiPOlineItem] contains an unresolved reference to an object. Either the object does not exist or the reference is ambiguous because it could refer to any of the following objects: [REDACTEDNAME].[dbo].[Customer].[REDACTEDNAME]::[dbo].[Customer].[CustId], [REDACTEDNAME].[dbo].[Customer].[CustID] or [dbo].[ediBuyerToCustID].[REDACTEDNAME]::[dbo].[Customer].[CustId].
C:\TFS\REDACTEDNAME\Main\Src\Database\Title\Title\Schema Objects\Schemas\dbo\Views\vwEdiPOlineItem.view.sql 62 47 Title
我實際上一起颳了Visual Studio DB項目,並且正在追求非常有希望的Red Gate的SQL Compare和SQL Source Control。 – kingdango