CREATE TABLE [dbo].[DDGUSysRegistry](
	[Token] [nvarchar](50) NOT NULL,
	[Property] [nvarchar](64) NOT NULL,
	[Value] [nvarchar](200) NULL,
	[Mandant] [int] NOT NULL,
	[Country] [smallint] NULL,
	[Option] [smallint] NULL,
 CONSTRAINT [PK_DDGUSysRegistry] PRIMARY KEY CLUSTERED 
(
	[Token] ASC,
	[Property] ASC,
	[Mandant] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
) ON [PRIMARY]

GO

ALTER TABLE [dbo].[DDGUSysRegistry] ADD  CONSTRAINT [DF_DDGUSysRegistry_Mandant]  DEFAULT ((0)) FOR [Mandant]
GO

ALTER TABLE [dbo].[DDGUSysRegistry] ADD  CONSTRAINT [DF_DDGUSysRegistry_Country]  DEFAULT ((-1)) FOR [Country]
GO

ALTER TABLE [dbo].[DDGUSysRegistry] ADD  CONSTRAINT [DF_DDGUSysRegistry_Option]  DEFAULT ((0)) FOR [Option]
GO

