Icon View Incident Report

Minor Minor
Reported By: Roy Lambert
Reported On: 5/11/2011
For: Version 2.05 Build 7
# 3445 Using Original Table Names Instead of Table Correlation Names Causes Exception with INSERT Query

The following query gives me an error:

ElevateDB Error #700 An error was found in the statement at line 8 and column 3 (Expected column name expression but instead found "Companies"."_ID")

whereas the same SELECT statement by itself does not.

INSERT INTO FilterResults
SELECT DISTINCT 68, _ID
FROM
"Companies" AS "_DB_Companies"
JOIN "Career" AS "_DB_Career" ON "_DB_Career"."_fkCompanies" = "_DB_Companies"."_ID"
WHERE
NOT
( Companies._ID IN (SELECT _fkCompanies FROM Career WHERE _fkJobCodes = 'CEO') OR
Companies._ID IN (SELECT _fkCompanies FROM Career WHERE _fkJobCodes = 'MD'))



Resolution Resolution
Fixed Problem on 5/14/2011 in version 2.05 build 8


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