odbc - Linked SQL Server database giving "inconsistent metadata" error -
I am currently running a third-party software suite, which uses SQL Server as my database Close is another example of SQL Server running at a different location, and some such apps that I am creating at that instance require SQL Server to access some data in third-party software. Therefore, I created an ODBC connection between the boxes, and on my version of SQL Server, the third-party SQL Server was set as a linked server. As a test, I did something like the following statement from my SQL server, using one of the third party tables:
SELECT * FROM LinkedServerName.SchemaName.dbo.TableName
for which I found this error:
OLE DB error trace [non-interface error: column 'TableRowVersion' (compile-time order 4) Skimman "" DBO ". In the compilation of time, a DBCOL UMLFLAGS_ISRRO of 0 and 512 was reported on run time] Message 7356, Level 16, State 1, Line 1 OLE DB Provider 'MSDASUAL' provides incompatible metadata for a column. . Metadata information was changed in the execution time
This error for any other table I try to use. What does this error mean, and there is no way around it?
I did this sometime. I found that an alternative solution was to use OPENQUERY.
Also, Wrong is the name of part 4 (May be a typo but I was not sure). It should be linked servername.dbname.SkymaName.TableName
Comments
Post a Comment