Article ID: 283837 - Last Review: October 15, 2002 - Revision: 1.0 FIX: SQL Server May Generate Nested Query For Linked Server When Option Is DisabledThis article was previously published under Q283837
BUG #: 100928 (SQLBUG_70)
SYMPTOMS
SQL Server may generate a nested query to a linked server even if the option is disabled in the linked server's options, accessible in SQL Enterprise Manager under the Options tab of the Linked Server Properties dialog box. If the remote server does not support nested queries, this may result in an error that prevents the query from running. The exact error depends on the provider that is being used; however, SQL Server will most likely report a 7399 error in such cases.
Server: Msg 7399, Level 16, State 1, Line 1 OLE DB provider 'DataDirect.InformixADOProvider' reported an error. The provider did not give any information about the error. RESOLUTIONTo resolve this problem, obtain the latest service pack for Microsoft SQL Server 7.0. For additional information, click the following article number to view the article in the
Microsoft Knowledge Base:
301511
(http://support.microsoft.com/kb/301511/EN-US/
)
INF: How to Obtain the Latest SQL Server 7.0 Service Pack
NOTE: The following hotfix was created prior to Microsoft SQL Server 7.0 Service Pack 4.The English version of this fix should have the following file attributes or later: Version File name Platform --------------------------------------------------- 7.00.0921 s70921i.exe x86 SP2-based fix 7.00.0921 s70921a.exe Alpha SP2-based fix 7.00.0970 s70970i.exe x86 SP3-based fix 7.00.0970 s70970a.exe Alpha SP3-based fix STATUSMicrosoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article. This problem was first corrected in Microsoft SQL Server 7.0 Service Pack 4. MORE INFORMATION
A nested query is one in which a SELECT statement is nested in the FROM clause of your main query. This is also known as a derived table. An example of a nested query from the pubs database might look like similar to:
| Article Translations
|
Back to the top
