IF NOT EXISTS (SELECT * FROM sys.indexes WHERE object_id = OBJECT_ID(N'[dbo].[HTETKIK]') AND name = N'IX_HTETKIK_DURUM_HESAPISLID')
CREATE NONCLUSTERED INDEX [IX_HTETKIK_DURUM_HESAPISLID] ON [dbo].[HTETKIK] 
(
	[DURUM] ASC,
	[HESAPISLID] ASC
)
INCLUDE ( [HTETKIKID],
[HTETKIKKARTID],
[HDOSYAID]) WITH (PAD_INDEX  = OFF, STATISTICS_NORECOMPUTE  = OFF, SORT_IN_TEMPDB = OFF, IGNORE_DUP_KEY = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS  = ON, ALLOW_PAGE_LOCKS  = ON) ON [PRIMARY]
GO

