Oracle SQL Update on Inner Join -


Something is stuck on the fact that I am a bit simpler this morning.

I have a bit crazy with the time of readings and daylight saving.

I have to set OLD = NEW in the

  tab1, t.t2400 as tab1, reportro.non_dst_readings as tabro reports in internal report from D Please. Dst_readings at d.cust = t.cust and to_date (d.readdate_ndst, 'dd) -mmm-yy' = (to_date (t.readdate, 'dd-mmm-yy') -1);   

^^ But the above selection is not working, very few updates.

I was trying to update them to:

  update (report d.t0100 as tab1, t.t2400 as report.non_dst_readings d inner report report Dst_readings t At d.cust = t.cust to_date (d.readdate_ndst, 'dd-mmm-yy') = (to_date (t.readdate, 'dd-mmm-yy') -1) Old set = new;  
Post text "itemprop =" text ">

There is a keyword in Oracle, the identifier Use something else as well, fix syntax, a join can contain only one section

  add Yatan (d.t0100) is selected as old Val, t.t2400, newVaL.non_dst_readings d inner job report from dst_readings t d.cust = t.cust where to_date (d.readdate_ndst, 'dd-mm-yyyy') = (To_date (t.readdate, 'dd-mm-yyyy') -1) Set oldVal = newVaL;    

Comments

Popular posts from this blog

Java - Error: no suitable method found for add(int, java.lang.String) -

java - JPA TypedQuery: Parameter value element did not match expected type -

c++ - static template member variable has internal linkage but is not defined -