kreta/Kreta.DataAccess.Migrations/Scripts/20210910152003_KRETA2_9829/KRETA2_9829.sql
2024-03-13 00:33:46 +01:00

6 lines
No EOL
195 B
SQL

update oo
set oo.C_FOGLALKOZASID = NULL
from T_ORARENDIORA oo
inner join T_FOGLALKOZAS f on f.ID = oo.C_FOGLALKOZASID and f.TOROLT = 'F'
where oo.TOROLT = 'F'
and oo.C_TANARID <> f.C_TANARID