UPDATE TESISSEG.dbo.Siniestros
SET SinFecAlta = SinFecDec
WHERE SinFecAlta IS NULL
	AND SinFecDec IS NOT NULL
	AND SinSer = YEAR(SinFecDec)
