Tables [dbo].[SCRateSchedules]
PropertyValue
CollationSQL_Latin1_General_CP1_CI_AS
Row Count (~)0
Created1:00:14 AM Thursday, March 21, 2019
Last Modified1:15:27 AM Thursday, March 21, 2019
KeyNameData TypeMax Length (Bytes)Allow NullsIdentityDefault
Cluster Primary Key PK_SCRateSchedules: ScheduleIDScheduleIDint4
False
1 - 1
Schedulevarchar(64)64
False
ScheduleTypeint4
False
Descriptionvarchar(128)128
False
Foreign Keys FK_SCRateSchedules_BillingCycleID_SCBillingCycles: [dbo].[SCBillingCycles].BillingCycleIDBillingCycleIDint4
False
Activebit1
False
CreateDatedatetime8
True
(getdate())
LastUpdatedatetime8
True
(getdate())
CreatorIDvarchar(8)8
False
UpdatorIDvarchar(8)8
False
KeyNameKey ColumnsUniqueFill Factor
Cluster Primary Key PK_SCRateSchedules: ScheduleIDPK_SCRateSchedulesScheduleID
True
80
NameColumns
FK_SCRateSchedules_BillingCycleID_SCBillingCyclesBillingCycleID->[dbo].[SCBillingCycles].[BillingCycleID]
CREATE TABLE [dbo].[SCRateSchedules]
(
[ScheduleID] [int] NOT NULL IDENTITY(1, 1),
[Schedule] [varchar] (64) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
[ScheduleType] [int] NOT NULL,
[Description] [varchar] (128) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
[BillingCycleID] [int] NOT NULL,
[Active] [bit] NOT NULL,
[CreateDate] [datetime] NULL CONSTRAINT [DF_SCRateSchedules_CreateDate] DEFAULT (getdate()),
[LastUpdate] [datetime] NULL CONSTRAINT [DF_SCRateSchedules_LastUpdate] DEFAULT (getdate()),
[CreatorID] [varchar] (8) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
[UpdatorID] [varchar] (8) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL
) ON [PRIMARY]
GO
ALTER TABLE [dbo].[SCRateSchedules] ADD CONSTRAINT [PK_SCRateSchedules] PRIMARY KEY CLUSTERED  ([ScheduleID]) ON [PRIMARY]
GO
ALTER TABLE [dbo].[SCRateSchedules] ADD CONSTRAINT [FK_SCRateSchedules_BillingCycleID_SCBillingCycles] FOREIGN KEY ([BillingCycleID]) REFERENCES [dbo].[SCBillingCycles] ([BillingCycleID])
GO