IF NOT EXISTS (SELECT * FROM sys.indexes WHERE object_id = OBJECT_ID(N'[dbo].[HTETKIKKARTUYARI]') AND name = N'IX_HTETKIKKARTUYARI_OKUNDU')
CREATE INDEX [IX_HTETKIKKARTUYARI_OKUNDU] ON HTETKIKKARTUYARI
(OKUNDU)
INCLUDE (HTETKIKUYARIID,HTETKIKKARTID,SGKULLANICI,SGTARIH,KYKULLANICI,KYTARIH,UYARINOTU,HTETKIKID,UYARITIPI)
WHERE OKUNDU = 0