if not exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[CarResReservationXtab]') and OBJECTPROPERTY(id, N'IsUserTable') = 1)
 
CREATE TABLE [dbo].[CarResReservationXtab](
  [CarResReservationID] [int] IDENTITY(1,1) NOT NULL,
  [ReferenceNumber] [int] NOT NULL,
  [GuestNumber] [int] NOT NULL,
  [ArrangementLineNumber] [int] NOT NULL,
  [CarResBookingCode] [varchar] (100) NOT NULL,
  [CarResBookingStatus] [varchar] (10) NOT NULL,
  [CarResBookingRQXML] [varchar] (8000) NOT NULL,
  [CarResBookingRSXML] [varchar] (8000) NOT NULL,
  [CreatedTimestamp] [datetime] NOT NULL,
  [UpdatedTimestamp] [datetime] NOT NULL
)