﻿--Migration
UPDATE cst SET 
  C_ISTANORAICELU = 'T' 
FROM T_CSOPORTTIPUS cst
  INNER JOIN T_INTEZMENY i ON i.ID = cst.C_ALINTEZMENYID AND i.TOROLT = 'F'
WHERE cst.ID = 6877 
  AND C_ISTANORAICELU = 'F' 

UPDATE cst SET 
  C_ISTANORAICELU = 'T' 
FROM T_CSOPORTTIPUS cst
  INNER JOIN T_INTEZMENY i ON i.ID = cst.C_ALINTEZMENYID AND i.TOROLT = 'F'
WHERE cst.ID = 1034 
  AND C_ISTANORAICELU = 'F' 

UPDATE cst SET 
  C_ISMUVESZETI = 'T' 
FROM T_CSOPORTTIPUS cst
  INNER JOIN T_INTEZMENY i ON i.ID = cst.C_ALINTEZMENYID AND i.TOROLT = 'F'
WHERE cst.ID IN (1071, 1070, 1069, 1068, 1067, 6756, 6757, 6758, 6759, 6760, 6761) 
  AND C_ISMUVESZETI = 'F' 

