Hi, the table definitions are:
if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[LeadAllocation]') and OBJECTPROPERTY(id, N'IsUserTable') = 1)
drop table [dbo].[LeadAllocation]
GO
CREATE TABLE [dbo].[LeadAllocation] (
[Date] [datetime] NULL ,
[ClientId] [int] NULL ,
[ContactId]...