Icon View Incident Report

Minor Minor
Reported By: Barry McClure
Reported On: 1/30/2013
For: Version 2.11 Build 3
# 3739 LIST Function Producing Result with Different Collation than Input Parameter

In the following example, IndexColNames is case sensitive even though Information.ColumnName was case-insensitive.

CREATE VIEW "vTableIndexes" AS
select  "TableName", list(IndexDir) as "IndexColNames" from
(select "TableName", "ColumnName"+if("Descending",' Desc','') as 
"IndexDir" from "information"."indexcolumns"
        order by "tablename", "indexname", "ordinalpos") as T1
group by "tablename", "IndexName";

select * from vTableIndexes where IndexColNames like 'p%';



Comments Comments and Workarounds
The workaround is to use CAST() to force a collation:

CAST(LIST(IndexDir) AS CLOB COLLATE ANSI_CI)

on the LIST results.


Resolution Resolution
Fixed Problem on 1/31/2013 in version 2.12 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