-- Some indices added during database optimization (Aug 22)

CREATE NONCLUSTERED INDEX IX_WAS_ID_WASTE ON [dbo].[Waste] ([WASId])

USE [nsw]
GO

SET ANSI_PADDING ON
GO

/****** Object:  Index [IX_Visit_Transit_Core]    Script Date: 25.08.2022 09:21:34 ******/
CREATE NONCLUSTERED INDEX [IX_Visit_Transit_Core] ON [dbo].[MessageCore]
(
	[VisitId] ASC,
	[TransitId] ASC
)
INCLUDE ( 	[QueryNSWStatus]) 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



 CREATE NONCLUSTERED INDEX IX_NOT_CLASS_MH ON [dbo].[MessageHeader] ([NotificationClass])