I got a little problem with TOraQuery object and internal generation of update code
My SQL:
Code: Select all
with ww_min as
(
select min(wiek) w_min
from inw_wsp_wiek ww_g
)
select ww.id_sezonu, dwp.wartosc_param sezon, ww.wiek, ww.wspolczynnik,
decode(ww.wiek, ww_m.w_min, 'T', 'N') czy_kasowac
from inw_wsp_wiek ww
join
it_dop_wartosc_param dwp
on (dwp.id = ww.id_sezonu)
cross join
ww_min ww_m
Both "UpdatingTable" and "KeyFields" properties have proper values
I change field values, call "Post" and nothing...
But when I
- set "SQLUpdate" manual
or
- change main SQL to "select * from inw_wsp_wiek"
everything is ok...
Any clues?...
Regards
P.C.