You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY]
GO
ALTER TABLE [dbo].[ServiceProblem2ServiceProblem] ADD CONSTRAINT [DF_ServiceProblem2ServiceProblem_id] DEFAULT (newid()) FOR [id]
GO
ALTER TABLE [dbo].[ServiceProblem2ServiceProblem] WITH CHECK ADD CONSTRAINT [FK_ServiceProblem2ServiceProblem_ServiceProblem] FOREIGN KEY([ParentProblem])
REFERENCES [dbo].[ServiceProblem] ([id])
GO
ALTER TABLE [dbo].[ServiceProblem2ServiceProblem] CHECK CONSTRAINT [FK_ServiceProblem2ServiceProblem_ServiceProblem]
GO
ALTER TABLE [dbo].[ServiceProblem2ServiceProblem] WITH CHECK ADD CONSTRAINT [FK_ServiceProblem2ServiceProblem_ServiceProblem1] FOREIGN KEY([UnderlyingProblem])
REFERENCES [dbo].[ServiceProblem] ([id])
GO
ALTER TABLE [dbo].[ServiceProblem2ServiceProblem] CHECK CONSTRAINT [FK_ServiceProblem2ServiceProblem_ServiceProblem1]