skip to Main Content

SQL Server JSON for many-to-many

I have the following tables (many-to-many): DROP TABLE IF EXISTS [dbo].[ItemOwner], [dbo].[Items], [dbo].[Owners] GO CREATE TABLE [dbo].[Items] ( [Id] [int] IDENTITY(1,1) PRIMARY KEY CLUSTERED, [Name] [varchar](max) NOT NULL ); CREATE TABLE [dbo].[Owners] ( [Id] [int] IDENTITY(1,1) PRIMARY KEY CLUSTERED, [Name]…

VIEW QUESTION
Back To Top
Search