PRB: View Created with a Subquery Cannot Be UpdatedLast reviewed: April 28, 1997Article ID: Q80398 |
The information in this article applies to:
- Microsoft SQL Server version 4.2 for OS/2 - Microsoft SQL Server version 4.2
SYMPTOMSA view created using a subquery cannot be updated. An attempt to update a view created with a subquery generates the following message:
View <view_name> is not updatable because it contains aggregates. (Msg 4403, Level 16, State 1). CAUSEThis is similar to the case where a view created with an aggregate cannot be updated. This happens because the subqueries are processed as a special type of aggregate, and therefore few significant differences exist between aggregate and subquery processing. According to ANSI (X3.135-1989), a view cannot be updated if it includes a subquery.
|
Additional query words: Windows NT
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |