Tables [dbo].[SCProblemCodes]
PropertyValue
CollationSQL_Latin1_General_CP1_CI_AS
Row Count (~)0
Created12:59:20 AM Thursday, March 21, 2019
Last Modified1:15:29 AM Thursday, March 21, 2019
KeyNameData TypeMax Length (Bytes)Allow NullsDefault
Cluster Primary Key PK_SCProblemCodes: ProblemCodeIDProblemCodeIDint4
False
ProblemCodevarchar(15)15
False
Descriptionvarchar(50)50
False
Activebit1
False
Locksint4
False
((0))
CreatorIDchar(8)8
False
UpdatorIDchar(8)8
False
CreateDatedatetime8
False
(getdate())
LastUpdatedatetime8
False
(getdate())
timestamptimestamp8
True
BypassMeterReadingRequirementbit1
False
((0))
KeyNameKey ColumnsUniqueFill Factor
Cluster Primary Key PK_SCProblemCodes: ProblemCodeIDPK_SCProblemCodesProblemCodeID
True
80
CREATE TABLE [dbo].[SCProblemCodes]
(
[ProblemCodeID] [int] NOT NULL,
[ProblemCode] [varchar] (15) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
[Description] [varchar] (50) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
[Active] [bit] NOT NULL,
[Locks] [int] NOT NULL CONSTRAINT [DF_SCProblemCodes_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_SCProblemCodes_CreateDate] DEFAULT (getdate()),
[LastUpdate] [datetime] NOT NULL CONSTRAINT [DF_SCProblemCodes_LastUpdate] DEFAULT (getdate()),
[timestamp] [timestamp] NULL,
[BypassMeterReadingRequirement] [bit] NOT NULL CONSTRAINT [DF_SCProblemCodes_BypassMeterReadingRequirement] DEFAULT ((0))
) ON [PRIMARY]
GO
ALTER TABLE [dbo].[SCProblemCodes] ADD CONSTRAINT [PK_SCProblemCodes] PRIMARY KEY CLUSTERED  ([ProblemCodeID]) ON [PRIMARY]
GO