IF NOT EXISTS (SELECT * FROM sys.indexes WHERE object_id = OBJECT_ID(N'[AKUZ].[T_EXAMINATION_TYPE_LINK]') AND name = N'IX_T_EXAMINATION_TYPE_LINK_AmbulanceCardRecord')
CREATE INDEX IX_T_EXAMINATION_TYPE_LINK_AmbulanceCardRecord ON AKUZ.T_EXAMINATION_TYPE_LINK (AmbulanceCardRecord)
GO

IF NOT EXISTS (SELECT * FROM sys.indexes WHERE object_id = OBJECT_ID(N'[AKUZ].[T_AMBULANCE_CARD]') AND name = N'IX_T_AMBULANCE_CARD_State')
CREATE INDEX IX_T_AMBULANCE_CARD_State ON AKUZ.T_AMBULANCE_CARD ([State])
GO

IF NOT EXISTS (SELECT * FROM sys.indexes WHERE object_id = OBJECT_ID(N'[AKUZ].[T_IMPORTANT_OCCASIONS_LINK_POST]') AND name = N'IX_T_IMPORTANT_OCCASIONS_LINK_POST_Post')
CREATE NONCLUSTERED INDEX [IX_T_IMPORTANT_OCCASIONS_LINK_POST_Post] ON [AKUZ].[T_IMPORTANT_OCCASIONS_LINK_POST] ([Post]) INCLUDE([ImportantOccasions])
GO
