﻿--Migration
IF NOT EXISTS(SELECT * FROM sys.indexes where object_id = object_id('dbo.T_FELHASZNALOBELEPESTORTENET') and name = 'NCI_FelhasznaloBelepesTortenet_IntezmenyId_TanevId')
  CREATE INDEX [NCI_FelhasznaloBelepesTortenet_IntezmenyId_TanevId] ON dbo.T_FELHASZNALOBELEPESTORTENET(
      [C_INTEZMENYID], [C_TANEVID], [C_SESSIONID], [C_FELHASZNALOID], [C_GONDVISELOID] 
  )
  WITH (FILLFACTOR = 100, PAD_INDEX = ON)
