if exists ( select * from sys.indexes i where i.object_id = object_id('AKUZ.T_VISIT', 'U') and i.name = 'IX_T_VISIT_InputDate_type2')
		DROP INDEX [IX_T_VISIT_InputDate_type2] ON [AKUZ].[T_VISIT];
go
CREATE INDEX [IX_T_VISIT_InputDate_type2] ON [AKUZ].[T_VISIT] ( [type_],  [InputDate] ) INCLUDE ( [AmbulanceEvent], [MedicalExamination]) WITH (FILLFACTOR=95,SORT_IN_TEMPDB=ON);
