IF  EXISTS (SELECT * FROM sys.indexes WHERE object_id = OBJECT_ID(N'[AKUZ].[T_CARD_NOTE]') AND name = N'IX_T_CARD_NOTE_EmdrBaseObjectID')
DROP INDEX [IX_T_CARD_NOTE_EmdrBaseObjectID] ON [AKUZ].[T_CARD_NOTE]
GO