Monday, May 06, 2013

Linked SQL Server database giving “inconsistent metadata” error

When I query the table via a Linked server, I get the following error.

Inconsistent Metadata

The workaround for this is to use OPENQUERY.

SELECT * FROM OPENQUERY(LinkedServerName, 'SELECT * FROM DBName.Schema.Table')

No comments:

Post a Comment