CREATE TABLE [dbo].[AnagTipoDelibere] (
    [CodTipoDelibera] NVARCHAR (50) NOT NULL,
    [DescDelibera]    NVARCHAR (50) NULL,
    [CodEvento]       NVARCHAR (10) NULL,
    CONSTRAINT [PK_AnagTipoDelibere] PRIMARY KEY CLUSTERED ([CodTipoDelibera] ASC),
    CONSTRAINT [FK_AnagTipoDelibere_AnagTipoEvento] FOREIGN KEY ([CodEvento]) REFERENCES [dbo].[AnagTipoEvento] ([CodEvento]) ON UPDATE CASCADE
);


GO
EXECUTE sp_addextendedproperty @name = N'MS_Description', @value = N'NON MODIFICARE: nel codice si usano questi campi x chiamate...', @level0type = N'SCHEMA', @level0name = N'dbo', @level1type = N'TABLE', @level1name = N'AnagTipoDelibere', @level2type = N'COLUMN', @level2name = N'CodEvento';

