Tables [dbo].[MssWebLocalServiceSelectedFilterItem]
Properties
PropertyValue
Row Count (~)0
Created8:49:46 AM Thursday, December 5, 2024
Last Modified8:49:46 AM Thursday, December 5, 2024
Columns
NameData TypeMax Length (Bytes)Allow NullsIdentity
Cluster Primary Key PK_MssWebLocalServiceSelectedFilterItem: MssWebLocalServiceSelectedFilterItemIdMssWebLocalServiceSelectedFilterItemIdint4
No
1 - 1
Foreign Keys FK_MssWebLocalServiceSelectedFilterItem_SysUser: [dbo].[Sysuser].SysUserFIDIndexes IX_SysUserFID_LSStatusFID: SysUserFID\LSStatusFIDSysUserFIDint4
No
Foreign Keys FK_MssWebLocalServiceSelectedFilterItem_LSStatus: [dbo].[LSStatus].LSStatusFIDIndexes IX_SysUserFID_LSStatusFID: SysUserFID\LSStatusFIDLSStatusFIDint4
No
Indexes Indexes
NameColumnsUnique
Cluster Primary Key PK_MssWebLocalServiceSelectedFilterItem: MssWebLocalServiceSelectedFilterItemIdPK_MssWebLocalServiceSelectedFilterItemMssWebLocalServiceSelectedFilterItemId
Yes
IX_SysUserFID_LSStatusFIDSysUserFID, LSStatusFID
Yes
Foreign Keys Foreign Keys
NameDeleteColumns
FK_MssWebLocalServiceSelectedFilterItem_LSStatusLSStatusFID->[dbo].[LSStatus].[PriKey]
FK_MssWebLocalServiceSelectedFilterItem_SysUserCascadeSysUserFID->[dbo].[Sysuser].[SysUserID]
Permissions
TypeActionOwning Principal
GrantDeleteMssExec
GrantInsertMssExec
GrantSelectMssExec
GrantUpdateMssExec
SQL Script
CREATE TABLE [dbo].[MssWebLocalServiceSelectedFilterItem]
(
[MssWebLocalServiceSelectedFilterItemId] [int] NOT NULL IDENTITY(1, 1),
[SysUserFID] [int] NOT NULL,
[LSStatusFID] [int] NOT NULL
) ON [PRIMARY]
GO
ALTER TABLE [dbo].[MssWebLocalServiceSelectedFilterItem] ADD CONSTRAINT [PK_MssWebLocalServiceSelectedFilterItem] PRIMARY KEY CLUSTERED  ([MssWebLocalServiceSelectedFilterItemId]) ON [PRIMARY]
GO
CREATE UNIQUE NONCLUSTERED INDEX [IX_SysUserFID_LSStatusFID] ON [dbo].[MssWebLocalServiceSelectedFilterItem] ([SysUserFID], [LSStatusFID]) ON [PRIMARY]
GO
ALTER TABLE [dbo].[MssWebLocalServiceSelectedFilterItem] ADD CONSTRAINT [FK_MssWebLocalServiceSelectedFilterItem_LSStatus] FOREIGN KEY ([LSStatusFID]) REFERENCES [dbo].[LSStatus] ([PriKey])
GO
ALTER TABLE [dbo].[MssWebLocalServiceSelectedFilterItem] ADD CONSTRAINT [FK_MssWebLocalServiceSelectedFilterItem_SysUser] FOREIGN KEY ([SysUserFID]) REFERENCES [dbo].[Sysuser] ([SysUserID]) ON DELETE CASCADE
GO
GRANT SELECT ON  [dbo].[MssWebLocalServiceSelectedFilterItem] TO [MssExec]
GRANT INSERT ON  [dbo].[MssWebLocalServiceSelectedFilterItem] TO [MssExec]
GRANT DELETE ON  [dbo].[MssWebLocalServiceSelectedFilterItem] TO [MssExec]
GRANT UPDATE ON  [dbo].[MssWebLocalServiceSelectedFilterItem] TO [MssExec]
GO
Uses