BUG: Update Syntax Allows Ambiguous Tablenames/Aliases (151113)
The information in this article applies to:
- Microsoft SQL Server 6.0
- Microsoft SQL Server 6.5
This article was previously published under Q151113
BUG#: 15178
SYMPTOMS
In an update statement, if you specify a particular table/alias name for
the table to be updated, and specify a different tablename/alias as a
prefix to the column(s) to be updated, no errors are generated.
WORKAROUND
No workaround is required. The only table that will be updated is the table
that you specify with the UPDATE, irrespective of any aliases that you use
in the SET clause.
STATUS
Microsoft has confirmed this to be a problem in Microsoft SQL Server
versions 6.0 and 6.5. We are researching this problem and will post new
information here in the Microsoft Knowledge Base as it becomes available.
Modification Type: | Major | Last Reviewed: | 10/16/2003 |
---|
Keywords: | kbBug kbProgramming kbusage KB151113 |
---|
|