
IF NOT EXISTS (SELECT * FROM sys.indexes WHERE object_id = OBJECT_ID(N'[dbo].[MDLHDOZELTAKIPGECMIS]') AND name = N'IX_MDLHDOZELTAKIPGECMIS_DOSYAID')
BEGIN
      CREATE NONCLUSTERED INDEX IX_MDLHDOZELTAKIPGECMIS_DOSYAID ON MDLHDOZELTAKIPGECMIS (HDOSYAID) WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON, FILLFACTOR = 90)
END