Tables [dbo].[SplitCommissionsHold]
Properties
PropertyValue
CollationSQL_Latin1_General_CP1_CI_AS
Row Count (~)0
Created9:12:51 AM Friday, November 8, 2024
Last Modified9:12:51 AM Friday, November 8, 2024
Columns
NameData TypeMax Length (Bytes)Allow NullsIdentity
Cluster Primary Key PK_SplitCommissionsHold: SplitCommissionsHoldIDIndexes IX_SplitCommissionsHold_SplitCommissions: SplitCommissionsFID\SplitCommissionsHoldIDSplitCommissionsHoldIDint4
No
1 - 1
Foreign Keys FK_SplitCommissionsHold_SplitCommissions: [dbo].[SplitCommissions].SplitCommissionsFIDIndexes IX_SplitCommissionsHold_SplitCommissions: SplitCommissionsFID\SplitCommissionsHoldIDSplitCommissionsFIDint4
No
Foreign Keys FK_SplitCommissionsHold_Sysuser: [dbo].[Sysuser].SysUserFIDSysUserFIDint4
No
ChangedOndatetime8
No
HoldUpdateStatusbit1
No
HoldUpdateDescriptionvarchar(30)30
No
Indexes Indexes
NameColumnsUnique
Cluster Primary Key PK_SplitCommissionsHold: SplitCommissionsHoldIDPK_SplitCommissionsHoldSplitCommissionsHoldID
Yes
IX_SplitCommissionsHold_SplitCommissionsSplitCommissionsFID, SplitCommissionsHoldID
Foreign Keys Foreign Keys
NameColumns
FK_SplitCommissionsHold_SplitCommissionsSplitCommissionsFID->[dbo].[SplitCommissions].[SCPriKey]
FK_SplitCommissionsHold_SysuserSysUserFID->[dbo].[Sysuser].[SysUserID]
Permissions
TypeActionOwning Principal
GrantDeleteMssExec
GrantInsertMssExec
GrantSelectMssExec
GrantUpdateMssExec
SQL Script
CREATE TABLE [dbo].[SplitCommissionsHold]
(
[SplitCommissionsHoldID] [int] NOT NULL IDENTITY(1, 1),
[SplitCommissionsFID] [int] NOT NULL,
[SysUserFID] [int] NOT NULL,
[ChangedOn] [datetime] NOT NULL,
[HoldUpdateStatus] [bit] NOT NULL,
[HoldUpdateDescription] [varchar] (30) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL
) ON [PRIMARY]
GO
ALTER TABLE [dbo].[SplitCommissionsHold] ADD CONSTRAINT [PK_SplitCommissionsHold] PRIMARY KEY CLUSTERED  ([SplitCommissionsHoldID]) ON [PRIMARY]
GO
CREATE NONCLUSTERED INDEX [IX_SplitCommissionsHold_SplitCommissions] ON [dbo].[SplitCommissionsHold] ([SplitCommissionsFID], [SplitCommissionsHoldID] DESC) ON [PRIMARY]
GO
ALTER TABLE [dbo].[SplitCommissionsHold] ADD CONSTRAINT [FK_SplitCommissionsHold_SplitCommissions] FOREIGN KEY ([SplitCommissionsFID]) REFERENCES [dbo].[SplitCommissions] ([SCPriKey])
GO
ALTER TABLE [dbo].[SplitCommissionsHold] ADD CONSTRAINT [FK_SplitCommissionsHold_Sysuser] FOREIGN KEY ([SysUserFID]) REFERENCES [dbo].[Sysuser] ([SysUserID])
GO
GRANT SELECT ON  [dbo].[SplitCommissionsHold] TO [MssExec]
GRANT INSERT ON  [dbo].[SplitCommissionsHold] TO [MssExec]
GRANT DELETE ON  [dbo].[SplitCommissionsHold] TO [MssExec]
GRANT UPDATE ON  [dbo].[SplitCommissionsHold] TO [MssExec]
GO
Uses