Icon View Incident Report

Serious Serious
Reported By: Krisztian Kepes
Reported On: 8/30/2011
For: Version 2.05 Build 11
# 3502 INSERT..SELECT Statement Not Respecting ORDER BY Clause

I tried to insert data into a tmp table with specific order. Later I wondered that order is WRONG.

delete from tmp_a;

insert into tmp_a
select bizal.kod, bizal.mennyiseg, bizal.ertek, bizal.hmennyiseg,
bizal.hertek, bizal.id, bizfo.datum, mozgas.keszletmod, mozgas.nev
from bizal
left join bizfo on (bizal.kod = bizfo.kod)
left join mozgas on (mozgas.kod = bizfo.mozgas)
where cikk = 1722
order by
cikk, bizfo.datum desc, mozgas.keszletmod desc, bizfo.kod desc;

select * from tmp_a;

Resolution Resolution
Fixed Problem on 9/2/2011 in version 2.06 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