IF object_id ('INTEGRA_PACOTES_RETORNO') is null 
CREATE TABLE [dbo].[INTEGRA_PACOTES_RETORNO](
 [ID_PACOTE] [uniqueidentifier] NOT NULL,
 [ID_RETORNO] [uniqueidentifier] NOT NULL,
 [DT_RETORNO] datetime DEFAULT GETDATE(),
 [MSG_RETORNO] varbinary(MAX) not null
PRIMARY KEY CLUSTERED 
(
 [ID_RETORNO] 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].[INTEGRA_PACOTES_RETORNO]  WITH CHECK ADD FOREIGN KEY([ID_PACOTE])
REFERENCES [dbo].[INTEGRA_PACOTES] ([ID])
GO