[cHISInvoiceNo] [char](20) NOT NULL, [cHNBInvoiceNo] [char](20) NOT NULL, [cReferenceNO] [char](20) NOT NULL, [cApproved] [char](20) NOT NULL, [cCardType] [char](20) NOT NULL, [cCardBin] [char](20) NOT NULL, [cCardLast4Digit] [char](10) NOT NULL, [vcCardHoderName] [varchar](100) NOT NULL, [vcTerminal] [varchar](50) NOT NULL, [vcMerchent] [varchar](50) NOT NULL, [cResponseCode] [char](20) NOT NULL, [cCompanyCode] [char](10) NOT NULL, [dtpCreateDate] [datetime] NOT NULL, [nAmount] [numeric](18, 2) NOT NULL, [bDeleted] [bit] NOT NULL, [bComplete] [bit] NOT NULL, [vcTransactionType] [varchar](50) NOT NULL, CONSTRAINT [PK_tblTxnOneSwipe] PRIMARY KEY CLUSTERED ( [cApproved] 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
ALTER TABLE [dbo].[tblTxnOneSwipe] ADD CONSTRAINT
[DF_tblTxnOneSwipe_cHISInvoiceNo] DEFAULT ('') FOR [cHISInvoiceNo] GO
ALTER TABLE [dbo].[tblTxnOneSwipe] ADD CONSTRAINT
[DF_tblTxnOneSwipe_cHNBInvoiceNo] DEFAULT ('') FOR [cHNBInvoiceNo] GO
ALTER TABLE [dbo].[tblTxnOneSwipe] ADD CONSTRAINT [DF_tblTxnOneSwipe_cReferenceNO]
DEFAULT ('') FOR [cReferenceNO] GO
ALTER TABLE [dbo].[tblTxnOneSwipe] ADD CONSTRAINT [DF_tblTxnOneSwipe_cApproved]
DEFAULT ('') FOR [cApproved] GO
ALTER TABLE [dbo].[tblTxnOneSwipe] ADD CONSTRAINT [DF_tblTxnOneSwipe_cCardType]
DEFAULT ('') FOR [cCardType] GO
ALTER TABLE [dbo].[tblTxnOneSwipe] ADD CONSTRAINT [DF_tblTxnOneSwipe_cCardBin]
DEFAULT ('') FOR [cCardBin] GO
ALTER TABLE [dbo].[tblTxnOneSwipe] ADD CONSTRAINT [DF_Table_1_cCardLast] DEFAULT
('') FOR [cCardLast4Digit] GO
ALTER TABLE [dbo].[tblTxnOneSwipe] ADD CONSTRAINT
[DF_tblTxnOneSwipe_vcCardHoderName] DEFAULT ('') FOR [vcCardHoderName] GO
ALTER TABLE [dbo].[tblTxnOneSwipe] ADD CONSTRAINT [DF_tblTxnOneSwipe_vcTerminal]
DEFAULT ('') FOR [vcTerminal] GO
ALTER TABLE [dbo].[tblTxnOneSwipe] ADD CONSTRAINT [DF_tblTxnOneSwipe_vcMerchent]
DEFAULT ('') FOR [vcMerchent] GO
ALTER TABLE [dbo].[tblTxnOneSwipe] ADD CONSTRAINT
[DF_tblTxnOneSwipe_cResponseCode] DEFAULT ('') FOR [cResponseCode] GO
ALTER TABLE [dbo].[tblTxnOneSwipe] ADD CONSTRAINT [DF_tblTxnOneSwipe_cCompanyCode]
DEFAULT ('') FOR [cCompanyCode] GO
ALTER TABLE [dbo].[tblTxnOneSwipe] ADD CONSTRAINT [DF_tblTxnOneSwipe_dtpDate]
DEFAULT (((1990)-(1))-(1)) FOR [dtpCreateDate] GO
ALTER TABLE [dbo].[tblTxnOneSwipe] ADD CONSTRAINT [DF_tblTxnOneSwipe_nAmount]
DEFAULT ((0)) FOR [nAmount] GO
ALTER TABLE [dbo].[tblTxnOneSwipe] ADD CONSTRAINT [DF_tblTxnOneSwipe_bDeleted]
DEFAULT ((0)) FOR [bDeleted] GO
ALTER TABLE [dbo].[tblTxnOneSwipe] ADD CONSTRAINT [DF_tblTxnOneSwipe_bComplete]
DEFAULT ((0)) FOR [bComplete] GO
ALTER TABLE [dbo].[tblTxnOneSwipe] ADD CONSTRAINT
[DF_tblTxnOneSwipe_vcTransactionType] DEFAULT ('') FOR [vcTransactionType] GO