﻿CREATE INDEX [IX_FK_PAS_MessageHeader] ON PAS(MessageHeaderId)
CREATE INDEX [IX_FK_BPOL_MessageHeader] ON BPOL(MessageHeaderId)
CREATE INDEX [IX_FK_Error_MessageHeader] ON Error(MessageHeaderId)
CREATE INDEX [IX_FK_TOWA_MessageHeader] ON TOWA(MessageHeaderId)
CREATE INDEX [IX_FK_Violation_MessageHeader] ON Violation(MessageHeaderId)
CREATE INDEX [IX_FK_TOWD_MessageHeader] ON TOWD(MessageHeaderId)
CREATE INDEX [IX_FK_NOA_NOD_MessageHeader] ON NOA_NOD(MessageHeaderId)
CREATE INDEX [IX_FK_ATA_MessageHeader] ON ATA(MessageHeaderId)
CREATE INDEX [IX_FK_NAME_MessageHeader] ON NAME(MessageHeaderId)
CREATE INDEX [IX_FK_ATD_MessageHeader] ON ATD(MessageHeaderId)
CREATE INDEX [IX_FK_SEC_MessageHeader] ON SEC(MessageHeaderId)
CREATE INDEX [IX_FK_POBA_MessageHeader] ON POBA(MessageHeaderId)
CREATE INDEX [IX_FK_POBD_MessageHeader] ON POBD(MessageHeaderId)
CREATE INDEX [IX_FK_TIEFA_MessageHeader] ON TIEFA(MessageHeaderId)
CREATE INDEX [IX_FK_TIEFD_MessageHeader] ON TIEFD(MessageHeaderId)
CREATE INDEX [IX_FK_BKRA_MessageHeader] ON BKRA(MessageHeaderId)
CREATE INDEX [IX_FK_HAZA_MessageHeader] ON HAZA(MessageHeaderId)
CREATE INDEX [IX_FK_BKRD_MessageHeader] ON BKRD(MessageHeaderId)
CREATE INDEX [IX_FK_AGNT_MessageHeader] ON AGNT(MessageHeaderId)
CREATE INDEX [IX_FK_HAZD_MessageHeader] ON HAZD(MessageHeaderId)
CREATE INDEX [IX_FK_STAT_MessageHeader] ON STAT(MessageHeaderId)
CREATE INDEX [IX_FK_LADG_MessageHeader] ON LADG(MessageHeaderId)
CREATE INDEX [IX_FK_INFO_MessageHeader] ON INFO(MessageHeaderId)
CREATE INDEX [IX_FK_SERV_MessageHeader] ON SERV(MessageHeaderId)
CREATE INDEX [IX_FK_PRE72H_MessageHeader] ON PRE72H(MessageHeaderId)
CREATE INDEX [IX_FK_MDH_MessageHeader] ON MDH(MessageHeaderId)
CREATE INDEX [IX_FK_WAS_MessageHeader] ON WAS(MessageHeaderId)
CREATE INDEX [IX_FK_CREW_MessageHeader] ON CREW(MessageHeaderId)
CREATE INDEX [IX_FK_PortOfItinerary_BPOL] ON PortOfItinerary(BPOLId)
CREATE INDEX [IX_FK_MessageHeader_MessageCore] ON MessageHeader(MessageCoreId)
CREATE INDEX [IX_FK_MessageHeader_ReportingParty] ON MessageHeader(ReportingPartyId)
CREATE INDEX [IX_FK_CallPurpose_NOA_NOD] ON CallPurpose(NOA_NODId)
CREATE INDEX [IX_FK_LastTenPortFacilitiesCalled_SEC] ON LastTenPortFacilitiesCalled(SEC_Id)
CREATE INDEX [IX_FK_ShipToShipActivitiesDuringLastTenPortFacilitiesCalled_SEC] ON ShipToShipActivitiesDuringLastTenPortFacilitiesCalled(SEC_Id)
CREATE INDEX [IX_FK_SanitaryMeasuresDetail_MDH] ON SanitaryMeasuresDetail(MDH_Id)
CREATE INDEX [IX_FK_StowawaysJoiningLocation_MDH] ON StowawaysJoiningLocation(MDH_Id)
CREATE INDEX [IX_FK_PortOfCallLast30Days_MDH] ON PortOfCallLast30Days(MDH_Id)
CREATE INDEX [IX_FK_SInfectedArea_MDH] ON InfectedArea(MDH_Id)
CREATE INDEX [IX_FK_PortOfCallLast30DaysCrewJoinedShip_PortOfCallLast30Days] ON PortOfCallLast30DaysCrewJoinedShip(PortOfCallLast30DaysId)
CREATE INDEX [IX_FK_WasteDisposalServiceProvider_WAS] ON WasteDisposalServiceProvider(WASId)
