﻿CREATE TABLE [ext].[RcdClient] (
    [CodClient]     NVARCHAR (50)  NOT NULL,
    [CodClientRcd]  NVARCHAR (50)  NOT NULL,
    [CodAgRcd]      NVARCHAR (50)  NOT NULL,
    [ClientNameRcd] NVARCHAR (250) CONSTRAINT [DF_RcdClient_ClientNameRcd] DEFAULT ('') NULL,
    CONSTRAINT [PK_RcdClient] PRIMARY KEY CLUSTERED ([CodClient] ASC)
);


GO
EXECUTE sp_addextendedproperty @name = N'MS_Description', @value = N'Ragione Sociale', @level0type = N'SCHEMA', @level0name = N'ext', @level1type = N'TABLE', @level1name = N'RcdClient', @level2type = N'COLUMN', @level2name = N'ClientNameRcd';


GO
EXECUTE sp_addextendedproperty @name = N'MS_Description', @value = N'codice agente...', @level0type = N'SCHEMA', @level0name = N'ext', @level1type = N'TABLE', @level1name = N'RcdClient', @level2type = N'COLUMN', @level2name = N'CodAgRcd';


GO
EXECUTE sp_addextendedproperty @name = N'MS_Description', @value = N'codice cliente', @level0type = N'SCHEMA', @level0name = N'ext', @level1type = N'TABLE', @level1name = N'RcdClient', @level2type = N'COLUMN', @level2name = N'CodClientRcd';


GO
EXECUTE sp_addextendedproperty @name = N'MS_Description', @value = N'codice cliente', @level0type = N'SCHEMA', @level0name = N'ext', @level1type = N'TABLE', @level1name = N'RcdClient', @level2type = N'COLUMN', @level2name = N'CodClient';

