|
|
|
|
Google Adsense |
|
|
|
Modules |
|
|
|
New at Group29 |
|
|
|
TheForce.Net |
|
|
|
Hot trends |
|
|
|
|
SQL schema version changed between compilation execution
|
|
|
Using Microsoft SQL Server 2000. You may see this strange type of error. This is the OLE DB error reported from an ASP.NET web page
Quote:
The OLE DB provider 'SQLOLEDB' reported a schema version for table '"{your table here}"' that changed between compilation and execution. OLE DB error trace [Non-interface error: Schema version number changed from compile time ({number}) to run time ({new number}) for ProviderName='SQLOLEDB' TableName='"{your table here}"'.].
This article has been bumped from the Group29 Tech tips forums.
The 7359 error indicates that the schema has changed since compilation.
Microsoft SQL Server has an option "lazy schema validation". If this option is ON (default OFF), SQL Server postpones the execution time
check as to whether the schema of a table has changed between compilation and execution of a stored procedure. Postponing the check causes performance improvements in cases when a given remote table is not actually used in the query (e.g. in partitioned view against remote table scenario); this may however cause a query to abort in the middle of execution if the schema has indeed changed since compilation.
This problem typically occurs on stored procedure queries from one linked SQL server to another separate SQL server.
This Microsoft Article: Configuring OLE DB Providers for Distributed Queries covers changing the configuration for the lazy schema validation.
The article can be found in the MSDN library at:
MSDN Home > MSDN Library > Servers and Enterprise Development > SQL Server > SQL Server 2000 > Managing Servers > Configuring Linked Servers
Original Group29 Forums post: SQL schema version changed between compilation execution
|
|
|
|
Posted on Tuesday, February 26, 2008 @ 03:38:53 UTC by BB
|
|
|
|
"SQL schema version changed between compilation execution" | Login/Create an Account | 0 comments |
| The comments are owned by the poster. We aren't responsible for their content. |
|
|
|
|
|
No Comments Allowed for Anonymous, please register |
|
|
|
|
|
:: HeliusGray phpbb2 style by CyberAlien :: PHP-Nuke theme by www.nukemods.com ::
| |