Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- GO
- CREATE TABLE [dbo].[tbSection](
- [Id] [int] IDENTITY(1,1) NOT NULL,
- [Name] [varchar](max) NOT NULL,
- [Position] [int] NULL,
- CONSTRAINT [PK_tbSections] PRIMARY KEY CLUSTERED
- (
- [Id] ASC
- )WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON)
- )
- GO
- CREATE TABLE [dbo].[tbSubSubKategorie](
- [ID] [int] IDENTITY(1,1) NOT NULL,
- [Name] [varchar](max) NOT NULL,
- [Erstellungsdatum] [datetime] NOT NULL,
- CONSTRAINT [PK_tbSubSubkategorie] PRIMARY KEY CLUSTERED
- (
- [ID] ASC
- )WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON)
- )
- GO
- CREATE TABLE [dbo].[tbSection_SubSubKategorie](
- [Id] [int] IDENTITY(1,1) NOT NULL,
- [FK_Section_ID] [int] NOT NULL,
- [FK_SubSubKategorie] [int] NULL,
- CONSTRAINT [PK_tbSection_SubSubKategorie] PRIMARY KEY CLUSTERED
- (
- [Id] ASC
- )WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON)
- )
- GO
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement