﻿UPDATE T_DICTIONARYITEMBASE
  SET TOROLT = N'T'
WHERE ID = 6824
  AND C_TYPE = N'SzakkepesitesTipus'

UPDATE T_SZAKKEPESITESTIPUS
  SET TOROLT = N'T'
WHERE ID = 6824

UPDATE T_OSZTALY
  SET C_SZAKKEPESITES = 5527
WHERE C_SZAKKEPESITES = 6824

UPDATE T_TANULO
  SET C_SZAKKEPESITES = 5527
WHERE C_SZAKKEPESITES = 6824