Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
 
Log in  ::  Register  ::  Not logged in
 
 
 
        
Home       Members    Calendar    Who's On


Add to briefcase ««12

The OLE DB provider "SQLNCLI" for linked server "X" reported a change in schema version between compile time Expand / Collapse
Author
Message
Posted Monday, February 25, 2013 11:04 AM
SSC Rookie

SSC RookieSSC RookieSSC RookieSSC RookieSSC RookieSSC RookieSSC RookieSSC Rookie

Group: General Forum Members
Last Login: Wednesday, July 16, 2014 4:35 PM
Points: 32, Visits: 58
Glen Sidelnikov (9/25/2008)
There is one more scenario. It is using synonyms in SQL 2005.
In this case this is "granted by design". You need to recreate synonym if the table on which synonym was based changed.


Ah hah, this was my issue. Thank you, Glen!

I had a synonym on a table; used Red Gate's data compare to synchronize data between test & production tables which dropped indexes and recreated them... which broke the synonym. Recreating the synonym fixed this error for me.
Post #1423712
Posted Wednesday, October 16, 2013 1:04 AM
SSC-Enthusiastic

SSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-Enthusiastic

Group: General Forum Members
Last Login: Thursday, March 6, 2014 1:35 AM
Points: 178, Visits: 547
I also encounter this now and then, but with not any specific regularity.

EXEC sp_RefreshView '<View that reverences a linkedserver table>' will also allow the view to be used.

Has anyone encountered this with a view that uses SchemaBinding?
None of my views that generate this message use schemabinding.

Cheers






For better, quicker answers on T-SQL questions, read Jeff Moden's suggestions.

"Million-to-one chances crop up nine times out of ten." ― Terry Pratchett, Mort
Post #1505081
« Prev Topic | Next Topic »

Add to briefcase ««12

Permissions Expand / Collapse