Icon View Incident Report

Minor Minor
Reported By: Terry Swiers
Reported On: 3/8/2011
For: Version 2.05 Build 4
# 3409 UPDATE Statements Using Correlated Sub-Queries that Reference Outer Statement Columns Can Cause AV

Calling an update statement with a row value constructor throws an AV if the field being retrieved from the source table does not exist, but DOES exist in the table being updated.

In the following query, OrderTable.CustGUID does exist but Customers.CustGUID does not. Changing the query to include the table identifier in the select statement or select a field that does not exist in either table results in the proper 700 field not found error being displayed.

UPDATE OrderTable SET (CustGUID)=(SELECT CustGUID FROM Customers WHERE CustNum=OrderTable.CustNum)



Resolution Resolution
Fixed Problem on 3/10/2011 in version 2.05 build 5


Products Affected Products Affected
ElevateDB Additional Software and Utilities
ElevateDB DAC Client-Server
ElevateDB DAC Client-Server with Source
ElevateDB DAC Standard
ElevateDB DAC Standard with Source
ElevateDB DAC Trial
ElevateDB LCL Standard with Source
ElevateDB PHP Standard
ElevateDB PHP Standard with Source
ElevateDB PHP Trial
ElevateDB VCL Client-Server
ElevateDB VCL Client-Server with Source
ElevateDB VCL Standard
ElevateDB VCL Standard with Source
ElevateDB VCL Trial

Image