CREATE TABLE [dbo].[AGNT] (
	[Id]	UNIQUEIDENTIFIER CONSTRAINT [DF_AGNT_Id] DEFAULT (newid()) ROWGUIDCOL NOT NULL,
	[MessageHeaderId] UNIQUEIDENTIFIER NULL,
	[AgentCompanyName] NVARCHAR (100) NULL,
	[AgentStreetAndNumber] NVARCHAR (100) NULL,
	[AgentPostalCode] NVARCHAR (25) NULL,
	[AgentCity] NVARCHAR (100) NULL,
	[AgentCountry] NVARCHAR (100) NULL,
	[AgentLastName] NVARCHAR (100) NULL,
	[AgentFirstName] NVARCHAR (100) NULL,
	[AgentPhone] NVARCHAR (100) NULL,
	[AgentFax] NVARCHAR (100) NULL,
	[AgentEMail] NVARCHAR (100) NULL,
	
	CONSTRAINT [PK_AGNT] PRIMARY KEY CLUSTERED ([Id] ASC),
	CONSTRAINT [FK_AGNT_MessageHeader] FOREIGN KEY ([MessageHeaderId]) REFERENCES [dbo].[MessageHeader] ([Id])
);