Tables [dbo].[SHNoteTypes]
PropertyValue
CollationSQL_Latin1_General_CP1_CI_AS
Row Count (~)0
Created1:00:43 AM Thursday, March 21, 2019
Last Modified1:16:15 AM Thursday, March 21, 2019
KeyNameData TypeMax Length (Bytes)Allow NullsIdentityDefault
Cluster Primary Key PK_SHNoteTypes: NoteTypeIDNoteTypeIDint4
False
100 - 1
NoteTypevarchar(15)15
False
Descriptionvarchar(50)50
False
IsEditablebit1
False
((0))
IsSelectablebit1
False
((1))
IsSystemTypebit1
False
((0))
Activebit1
False
((1))
CreatorIDvarchar(8)8
False
CreateDatedatetime8
False
(getdate())
UpdatorIDvarchar(8)8
False
LastUpdatedatetime8
False
(getdate())
IsEncryptedbit1
False
((0))
PermittedUsersvarchar(4000)4000
True
PermitAllUsersbit1
False
((0))
KeyNameKey ColumnsUniqueFill Factor
Cluster Primary Key PK_SHNoteTypes: NoteTypeIDPK_SHNoteTypesNoteTypeID
True
80
CREATE TABLE [dbo].[SHNoteTypes]
(
[NoteTypeID] [int] NOT NULL IDENTITY(100, 1),
[NoteType] [varchar] (15) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
[Description] [varchar] (50) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
[IsEditable] [bit] NOT NULL CONSTRAINT [DF_SHNoteTypes_IsEditable] DEFAULT ((0)),
[IsSelectable] [bit] NOT NULL CONSTRAINT [DF_SHNoteTypes_IsSelectable] DEFAULT ((1)),
[IsSystemType] [bit] NOT NULL CONSTRAINT [DF_SHNoteTypes_IsSystemType] DEFAULT ((0)),
[Active] [bit] NOT NULL CONSTRAINT [DF_SHNoteTypes_Active] DEFAULT ((1)),
[CreatorID] [varchar] (8) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
[CreateDate] [datetime] NOT NULL CONSTRAINT [DF_SHNoteTypes_CreateDate] DEFAULT (getdate()),
[UpdatorID] [varchar] (8) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
[LastUpdate] [datetime] NOT NULL CONSTRAINT [DF_SHNoteTypes_LastUpdate] DEFAULT (getdate()),
[IsEncrypted] [bit] NOT NULL CONSTRAINT [DF_SHNoteTypes_IsEncrypted] DEFAULT ((0)),
[PermittedUsers] [varchar] (4000) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
[PermitAllUsers] [bit] NOT NULL CONSTRAINT [DF_SHNoteTypes_PermitAllUsers] DEFAULT ((0))
) ON [PRIMARY]
GO
ALTER TABLE [dbo].[SHNoteTypes] ADD CONSTRAINT [PK_SHNoteTypes] PRIMARY KEY CLUSTERED  ([NoteTypeID]) ON [PRIMARY]
GO