Tables [dbo].[ShTerms]
PropertyValue
CollationSQL_Latin1_General_CP1_CI_AS
Row Count (~)0
Created12:56:08 AM Thursday, March 21, 2019
Last Modified1:16:17 AM Thursday, March 21, 2019
KeyNameData TypeMax Length (Bytes)Allow NullsDefault
Cluster Primary Key PK_ShTerms: TermIDTermIDint4
False
Termvarchar(15)15
False
Descriptionvarchar(50)50
False
DiscountRatefloat8
False
((0))
DiscountPeriodsmallint2
False
((0))
DuePeriodsmallint2
False
Activebit1
False
Locksint4
False
((0))
CreatorIDchar(8)8
False
UpdatorIDchar(8)8
False
CreateDatedatetime8
False
(getdate())
LastUpdatedatetime8
False
(getdate())
timestamptimestamp8
True
DueDayint4
False
((0))
DueMonthsint4
False
((0))
DueMinPeriodint4
False
((0))
KeyNameKey ColumnsUniqueFill Factor
Cluster Primary Key PK_ShTerms: TermIDPK_ShTermsTermID
True
80
CREATE TABLE [dbo].[ShTerms]
(
[TermID] [int] NOT NULL,
[Term] [varchar] (15) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
[Description] [varchar] (50) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
[DiscountRate] [float] NOT NULL CONSTRAINT [DF_ShTerms_DiscountRate] DEFAULT ((0)),
[DiscountPeriod] [smallint] NOT NULL CONSTRAINT [DF_ShTerms_DiscountPeriod] DEFAULT ((0)),
[DuePeriod] [smallint] NOT NULL,
[Active] [bit] NOT NULL,
[Locks] [int] NOT NULL CONSTRAINT [DF_ShTerms_Locks] DEFAULT ((0)),
[CreatorID] [char] (8) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
[UpdatorID] [char] (8) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
[CreateDate] [datetime] NOT NULL CONSTRAINT [DF_ShTerms_CreateDate] DEFAULT (getdate()),
[LastUpdate] [datetime] NOT NULL CONSTRAINT [DF_ShTerms_LastUpdate] DEFAULT (getdate()),
[timestamp] [timestamp] NULL,
[DueDay] [int] NOT NULL CONSTRAINT [DF_ShTerms_DueDay] DEFAULT ((0)),
[DueMonths] [int] NOT NULL CONSTRAINT [DF_ShTerms_DueMonths] DEFAULT ((0)),
[DueMinPeriod] [int] NOT NULL CONSTRAINT [DF_ShTerms_DueMinPeriod] DEFAULT ((0))
) ON [PRIMARY]
GO
ALTER TABLE [dbo].[ShTerms] ADD CONSTRAINT [PK_ShTerms] PRIMARY KEY CLUSTERED  ([TermID]) ON [PRIMARY]
GO