if not exists(select * from sys.indexes i where i.[object_id] = OBJECT_ID('AKUZ.T_MEDICAL_CERTIFICATE_PROLONGATION', 'U') and i.name = 'IX_MEDICAL_CERTIFICATE_PROLONGATION_VKPost')
	CREATE INDEX [IX_MEDICAL_CERTIFICATE_PROLONGATION_VKPost] ON [AKUZ].[T_MEDICAL_CERTIFICATE_PROLONGATION] ([VKPost])  
	INCLUDE ([MedicalCertificate]) WHERE [VKPost] IS NOT NULL WITH (FILLFACTOR=90, SORT_IN_TEMPDB=ON);
go