/****** Object:  Index [IX_MailAddresses_CustomerNumber]    Script Date: 30-09-2022 13:06:45 ******/
IF NOT EXISTS (SELECT * FROM sys.indexes WHERE object_id = OBJECT_ID(N'[MailAddresses]') AND name = N'IX_MailAddresses_CustomerNumber')
CREATE NONCLUSTERED INDEX [IX_MailAddresses_CustomerNumber] ON [MailAddresses]
(
	[CustomerNumber] ASC,
	[MailAddressType] ASC,
	[MailAddress] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
GO
SET ANSI_PADDING ON
GO
/****** Object:  Index [IX_MailAddresses_MailAddress]    Script Date: 30-09-2022 13:06:45 ******/
IF NOT EXISTS (SELECT * FROM sys.indexes WHERE object_id = OBJECT_ID(N'[MailAddresses]') AND name = N'IX_MailAddresses_MailAddress')
CREATE NONCLUSTERED INDEX [IX_MailAddresses_MailAddress] ON [MailAddresses]
(
	[MailAddress] ASC,
	[MailAddressType] ASC,
	[CustomerNumber] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
GO
