USE [Clarion]
GO

/****** Object:  Table [dbo].[Branch]    Script Date: 08-07-2015 03:44:19 PM ******/
SET ANSI_NULLS ON
GO

SET QUOTED_IDENTIFIER ON
GO

SET ANSI_PADDING ON
GO

CREATE TABLE [dbo].[Branch](
	[SITE] [varchar](4) NULL,
	[SYSIDBRANCH] [int] IDENTITY(1,1) NOT NULL,
	[BRANCH_CODE] [varchar](30) NULL,
	[BRANCH_NAME] [varchar](100) NULL,
	[ADDRESS_1] [varchar](50) NULL,
	[ADDRESS_2] [varchar](50) NULL,
	[ADDRESS_3] [varchar](50) NULL,
	[ADDRESS_4] [varchar](50) NULL,
	[POSTAL_ADDRESS1] [varchar](50) NULL,
	[POSTAL_ADDRESS2] [varchar](50) NULL,
	[POSTAL_ADDRESS3] [varchar](50) NULL,
	[POSTAL_ADDRESS4] [varchar](50) NULL,
	[BRANCH_TELEPHONE] [varchar](30) NULL,
	[BRANCH_FAX] [varchar](30) NULL,
 CONSTRAINT [PK__Branch__C3098AE557849203] PRIMARY KEY CLUSTERED 
(
	[SYSIDBRANCH] 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

SET ANSI_PADDING OFF
GO

USE [Clarion]
GO

/****** Object:  Table [dbo].[Branch_Print]    Script Date: 08-07-2015 03:44:23 PM ******/
SET ANSI_NULLS ON
GO

SET QUOTED_IDENTIFIER ON
GO

SET ANSI_PADDING ON
GO

CREATE TABLE [dbo].[Branch_Print](
	[SYSIDBRANCHPRINT] [int] NOT NULL,
	[SYSIDBRANCH] [int] NOT NULL,
	[QUOTE_SALESPERSONTITLE] [varchar](50) NULL,
	[PREFIX_TOQUOTENR] [varchar](25) NULL,
	[UNIT_SELLINGNAME] [varchar](25) NULL,
	[EXTENDED_PRICENAME] [varchar](25) NULL,
PRIMARY KEY CLUSTERED 
(
	[SYSIDBRANCHPRINT] 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

SET ANSI_PADDING OFF
GO
