Icon View Incident Report

Serious Serious
Reported By: Wolfgang Klein [AESA GmbH]
Reported On: 1/27/2016
For: Version 2.21 Build 1
# 4348 Queries on Views Not Using the Correct Index for Optimization When Column Correlation Names Used

View is not using an existing index.

I have a table with index and a view

select * from T where AT='a'
is using the index,

select * from V where AV='a'
is *not* using the index.

However
select * from V where AT='a'
is using the index again.

CREATE TABLE "T"
(
"AT" VARCHAR(10) COLLATE "UNI_CI"
)

CREATE INDEX "AT" ON "T" ("AT" COLLATE "UNI_CI")

CREATE VIEW "V" AS
select AT,AT as AV from T



Resolution Resolution
Fixed Problem on 1/27/2016 in version 2.22 build 1


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