if not exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[ReservationReservationXtab]') and OBJECTPROPERTY(id, N'IsUserTable') = 1)
CREATE TABLE [dbo].[ReservationReservationXtab](
	[FK_ReferenceNumber] [int] NOT NULL,
	[FK_ReferenceNumberSub] [int] NOT NULL,
 CONSTRAINT [PK_ReservationReservationXtab] PRIMARY KEY CLUSTERED 
(
	[FK_ReferenceNumber] ASC,
	[FK_ReferenceNumberSub] ASC
)
)