Tables [dbo].[SysuserSetting]
Properties
PropertyValue
CollationSQL_Latin1_General_CP1_CI_AS
Row Count (~)0
Created3:45:54 PM Thursday, December 6, 2018
Last Modified9:17:05 AM Friday, November 8, 2024
Columns
NameData TypeMax Length (Bytes)Allow NullsIdentity
Cluster Primary Key PK_SysuserSetting: SysuserSettingIDSysuserSettingIDint4
No
1 - 1
Foreign Keys FK_SysuserSetting_Sysuser: [dbo].[Sysuser].SysuserFIDIndexes IX_SysuserSetting_Sysuser_Name: SysuserFID\SettingNameSysuserFIDint4
No
Indexes IX_SysuserSetting_Sysuser_Name: SysuserFID\SettingNameSettingNamevarchar(32)32
No
IntValueint4
Yes
StringValuevarchar(255)255
Yes
LongStringValuevarchar(4096)4096
Yes
BoolValuebit1
Yes
Indexes Indexes
NameColumnsUnique
Cluster Primary Key PK_SysuserSetting: SysuserSettingIDPK_SysuserSettingSysuserSettingID
Yes
IX_SysuserSetting_Sysuser_NameSysuserFID, SettingName
Yes
Foreign Keys Foreign Keys
NameColumns
FK_SysuserSetting_SysuserSysuserFID->[dbo].[Sysuser].[SysUserID]
Permissions
TypeActionOwning Principal
GrantDeleteMssExec
GrantInsertMssExec
GrantSelectMssExec
GrantUpdateMssExec
SQL Script
CREATE TABLE [dbo].[SysuserSetting]
(
[SysuserSettingID] [int] NOT NULL IDENTITY(1, 1),
[SysuserFID] [int] NOT NULL,
[SettingName] [varchar] (32) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
[IntValue] [int] NULL,
[StringValue] [varchar] (255) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
[LongStringValue] [varchar] (4096) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
[BoolValue] [bit] NULL
) ON [PRIMARY]
GO
ALTER TABLE [dbo].[SysuserSetting] ADD CONSTRAINT [PK_SysuserSetting] PRIMARY KEY CLUSTERED  ([SysuserSettingID]) ON [PRIMARY]
GO
CREATE UNIQUE NONCLUSTERED INDEX [IX_SysuserSetting_Sysuser_Name] ON [dbo].[SysuserSetting] ([SysuserFID], [SettingName]) ON [PRIMARY]
GO
ALTER TABLE [dbo].[SysuserSetting] ADD CONSTRAINT [FK_SysuserSetting_Sysuser] FOREIGN KEY ([SysuserFID]) REFERENCES [dbo].[Sysuser] ([SysUserID])
GO
GRANT SELECT ON  [dbo].[SysuserSetting] TO [MssExec]
GRANT INSERT ON  [dbo].[SysuserSetting] TO [MssExec]
GRANT DELETE ON  [dbo].[SysuserSetting] TO [MssExec]
GRANT UPDATE ON  [dbo].[SysuserSetting] TO [MssExec]
GO
Uses