FIX: Select with ANSI Joins Against View with Union Operator and ANSI Joins Fails with Error 4409 (218834)
The information in this article applies to:
- Microsoft SQL Server 6.5 Service Pack 5 and 5a
This article was previously published under Q218834 BUG #: 18623 (SQLBUG_65) SYMPTOMS A SELECT statement, using ANSI-standard joins against a view defined using
ANSI-standard joins and the UNION operator, may fail with this error: Msg
4409, Level 20, State 1 The columns in the query definition and the view
definition do not match. The error occurs with SQL Server Service
pack 5, build 6.50.416. WORKAROUND Here are three workarounds:
- Change the query to use TSQL join syntax.
-or- - Change the view definition to use TSQL join
syntax.
-or- - Remove the UNION operator from the view definition.
STATUS Microsoft has confirmed this to be a problem in SQL Server
version 6.5. This problem has been corrected in the Post Service Pack 5a Update
for Microsoft SQL Server version 6.5. To install the Post Service Pack 5a
Update, you must have either SQL Server 6.5 SP5 or SP5a installed.
For information about how to download and install the SQL Server 6.5 Service
Pack 5a, refer to the following article in the Microsoft Knowledge Base: 197177 INF: How to Obtain SQL Server 6.5 Service Pack 5a
If you already have SQL Server 6.5 SP5 or SP5a installed, you can
download the Post SP5a Update from the following article in the Microsoft
Knowledge Base: 274036 INF: How to Obtain SQL Server 6.5 Post Service Pack 5a Update
For more information, contact your primary support provider.
Modification Type: | Major | Last Reviewed: | 9/6/2006 |
---|
Keywords: | kbBug kbfix KB218834 |
---|
|