﻿UPDATE DIB SET DIB.TOROLT = 'T'
    FROM T_DICTIONARYITEMBASE DIB 
    INNER JOIN T_TANEV t ON t.ID = DIB.C_TANEVID AND t.C_SORSZAM < 42  
      WHERE DIB.ID = 8756 AND DIB.TOROLT = 'F' ;