IF OBJECT_ID('PDV_VD_VINC_SAT') IS NULL
    BEGIN
        CREATE TABLE [dbo].[PDV_VD_VINC_SAT]
([CD_EMP]    [INT] NOT NULL,
 [CD_FILIAL] [INT] NOT NULL,
 [CD_VD]     [INT] NOT NULL,
 [CD_CX]     [INT] NOT NULL,
 [TIPO]      [INT] NOT NULL,
 [DT_VENDA]  [DATETIME] NULL,
 [DT_CAD]    [DATETIME] NULL,
 CONSTRAINT [PK_PDV_VD_SEM_VINC_SAT] PRIMARY KEY CLUSTERED([CD_EMP] ASC, [CD_FILIAL] ASC, [CD_VD] ASC, [CD_CX] ASC, [TIPO])
)
    END;