// 2012.02.14 sjc Add
Alter Table FareOutTmp Alter Column START_SERIAL varchar(20) null;
Alter Table FareOutTmp Alter Column END_SERIAL varchar(20) null;
Alter Table MohistTicketRec Add BBat varchar(5) null;

// 2012.07.09 sjc Add
CREATE TABLE [dbo].[MohistTicketDeleteRec]
(
	[TransNo] [varchar](25) COLLATE Chinese_Taiwan_Stroke_CI_AS NULL,
	[TransDate] [varchar](10) COLLATE Chinese_Taiwan_Stroke_CI_AS NULL,
	[TransTime] [varchar](8) COLLATE Chinese_Taiwan_Stroke_CI_AS NULL,
	[TicketNo] [varchar](20) COLLATE Chinese_Taiwan_Stroke_CI_AS NOT NULL,
	[Buyer] [varchar](50) COLLATE Chinese_Taiwan_Stroke_CI_AS NULL,
	[TicketName] [varchar](40) COLLATE Chinese_Taiwan_Stroke_CI_AS NULL,
	[TicketMny] [int] NULL,
	[TillDate] [varchar](10) COLLATE Chinese_Taiwan_Stroke_CI_AS NULL,
	[TrustBank] [varchar](10) COLLATE Chinese_Taiwan_Stroke_CI_AS NULL,
	[TrustEnd] [varchar](10) COLLATE Chinese_Taiwan_Stroke_CI_AS NULL,
	[SaleMan] [varchar](10) COLLATE Chinese_Taiwan_Stroke_CI_AS NULL,
	[InvNo] [varchar](10) COLLATE Chinese_Taiwan_Stroke_CI_AS NULL,
	[InvMny] [int] NULL,
	[InvTax] [int] NULL,
	[InvMnyTot] [int] NULL,
	[CompanyNo] [varchar](8) COLLATE Chinese_Taiwan_Stroke_CI_AS NULL,
	[RecKind] [varchar](1) COLLATE Chinese_Taiwan_Stroke_CI_AS NULL,
	[CreditCard] [varchar](16) COLLATE Chinese_Taiwan_Stroke_CI_AS NULL,
	[CreditAuthCode] [varchar](6) COLLATE Chinese_Taiwan_Stroke_CI_AS NULL,
	[RecTime] [varchar](19) COLLATE Chinese_Taiwan_Stroke_CI_AS NULL,
	[ProcessTime] [varchar](19) COLLATE Chinese_Taiwan_Stroke_CI_AS NULL,
	[SA_SERIAL] [int] NULL,
	[RealTicketNo] [varchar](20) COLLATE Chinese_Taiwan_Stroke_CI_AS NULL,
	[BBat] [varchar](5) COLLATE Chinese_Taiwan_Stroke_CI_AS NULL
  PRIMARY KEY CLUSTERED 
  (
    [TicketNo] ASC
  ) ON [PRIMARY]
) ON [PRIMARY];

// 2012.09.17 sjc Add
Alter Table MohistTicketRec Add ID_NO varchar(18) null;
Alter Table MohistTicketRec Add BIRTH varchar(10) null;
Alter Table MohistTicketRec Add TEL varchar(18) null;
Alter Table MohistTicketRec Add E_MAIL varchar(40) null;
Alter Table MohistTicketDeleteRec Add ID_NO varchar(18) null;
Alter Table MohistTicketDeleteRec Add BIRTH varchar(10) null;
Alter Table MohistTicketDeleteRec Add TEL varchar(18) null;
Alter Table MohistTicketDeleteRec Add E_MAIL varchar(40) null;