﻿--Migration
IF NOT EXISTS (SELECT 1 FROM sys.indexes WHERE name = 'IX_TANITASIORA_TANEVID_ORAKEZDETE_ORAVEGE') BEGIN
  CREATE INDEX IX_TANITASIORA_TANEVID_ORAKEZDETE_ORAVEGE ON T_TANITASIORA (C_TANEVID, C_ORAKEZDETE, C_ORAVEGE) INCLUDE(C_INTEZMENYID) WHERE TOROLT = 'F'
END
GO
